Drawing Snails - Flipped L
Time limit1sMemory limit512 MB
Given a cell size N, print a flipped-L shaped snail made of five horizontal and five vertical cells.
- Level
Easy2 of 10
- Topics
- Implementation, Simulation
- Solved
- No attempts yet
Problem
Seojun received a box containing a snail from his father as a birthday present. Inside the box is a snail shaped like a flipped L. The flipped L shape consists of 5 cells horizontally and 5 cells vertically. On the box is written a single number that indicates the size of each square cell. Given the cell size N, print the snail shape in the same manner as the sample output.
Input
The first line contains the integer N (1 ≤ N ≤ 100).
Output
Print the snail with cell size N.