A. Algolympics Level Editor
time limit per test
1 second
memory limit per test
256 megabytes
input
standard input
output
standard output
Example
Input
10 10 50
Output
@.A#2-+-+-
#.#..####+
.....x!a#-
.#....#X-+
.#a##d#.##
.#....#d..
a####.###.
+#D..9.+#.
c..####.#.
.......C..