Time limit
2s
Memory limit
128 MB
Jimin bought a new computer. The LCD display monitor that came with it does not show characters properly, so Jihwan wants to write a program that can test the monitor.
The first line contains two integers s and n. 1 <= s <= 10 and 0 <= n <= 9,999,999,999. The integer n is the number to display on the LCD monitor, and s is the size of each digit.
Print the number n in an LCD style using - and |. Each digit occupies s + 2 columns and 2s + 3 rows, and every unused cell must be a space. Put one blank column between adjacent digits.