# nput : 41325
# Output :
# |****
# |*
# |***
# |**
# # |****
# for i in input():
#     for j in range(int(i)):
#         if j==0:
#             print("|",end="")
#         print("*",end="")
#     print()
l=[int(x) for x in input()]