# **************решить потом**************
# a = []
# c = 1

# while c == 1:
#     if :
#         a.append([int(i) for i in input().split()])
#         print(a)
#
# if input() != 'end':
#     while c == 1:
#         a.append([int(i) for i in input().split()])
#         print(a)
# else:
#     print(1)

# ********************************* 

# if __name__ == '__main__':
#     main()
