- C20250080's blog
1
- 2023-10-13 10:20:33 @
ls = []
while True:
n = input()
l = []
if n == '':
break
for i in n:
if i == '1':
l.append('-$\color{blue}\\text{□□}$-')
elif i == '0':
l.append('-----')
elif i == '2':
l.append('-$\color{blue}\\text{ o}$-')
ls.append(l)
for i in range(len(ls)):
print((3-len(str(len(ls)-i)))*'0'+str(len(ls)-i),end = '')
for j in range(4):
print(ls[len(ls)-1-i][j],end = '')
print('\n')