|
Hello World
Peter’s programming task for the next lecture is to develop a program that prints out the text HELLO WORLD ! . His teacher set the following rules: When the text is printed in size of the height of the letters must be . The required width for the letters groups H,O,R,D and E,L and W are , and respectively. You must leave empty space between the letters, and empty spaces between the words (the ! is a word here). The empty space is represented by . (dot). For further details examine the sample outputs!
Sadly, Peter stuck with the implementation - help him out!
Input specification
A single number .
Output specification
The required text in size of .
Constraints
Sample input 1
2
download as text file
Sample output 1
#..#.###.#...#....##....#...#..##..###..#...###....# #..#.#...#...#...#..#...#...#.#..#.#..#.#...#..#...# ####.###.#...#...#..#...#...#.#..#.###..#...#..#...# #..#.#...#...#...#..#...#.#.#.#..#.#.#..#...#..#.... #..#.###.###.###..##.....#.#...##..#..#.###.###....#
download as text file
Sample input 2
3
download as text file
Sample output 2
#...#.####.#....#.....###....#.....#..###..####..#....####....# #...#.#....#....#....#...#...#.....#.#...#.#...#.#....#...#...# #...#.#....#....#....#...#...#.....#.#...#.#...#.#....#...#...# #####.####.#....#....#...#...#.....#.#...#.####..#....#...#...# #...#.#....#....#....#...#...#..#..#.#...#.#.#...#....#...#...# #...#.#....#....#....#...#...#.#.#.#.#...#.#..#..#....#...#.... #...#.####.####.####..###.....#...#...###..#...#.####.####....#
download as text file
|
|