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