# y = int(input())
# y = y % 60
# i = y % 10-1 #십간
# j = y % 12-1 #십이지
# a = [7, 8, 9, 0, 1, 2, 3, 4, 5, 6]
# b = ['J', 'K', 'L', 'A', 'B', 'C', 'D', 'E', 'F', 'G', 'H', 'I']
# print(b[j], end='')
# print(a[i])
# data = int(input())
#
# x = chr((data+8)%12 + ord('A'))
# print(x,end='')
# print((data+6)%10)
# A = 300
# B = 60
# C = 10
# T = int(input())
# if (((T % A) % B) % C) > 0:
# print(-1)
# else:
# print( (int(T / A)), int((T % A) / B), int(((T % A) % B) / C) )
# data1 = 0
# # 변수: variable
#
# data2 = [1, 2, 3]
# # 리스트: list
#
# print(data2[1]) # 1: 두번째, 0부터니까
#
# data2.append(4)
# # data2: [1, 2, 3, 4]
#
# data2.append(5)
# # data2: [1, 2, 3, 4, 5]
#
# data2.append(100)
# # data2: [1, 2, 3, 4, 5, 100]
#
# print(data2)
#
# for i in range(len(data2)):
# # len(data2) : 6
# # 0 ~ (6-1)
# print(data2[i], end='>>>')
#
# data2[i] = 100 - i
# print(data2[i])
# data1 = 0
# data2 = [1, 2, 3]
#
# x = data1
# y = data1
#
# print(data1, x, y)
#
# x = 100
# y = 200
# print(data1, x, y)
#
# import copy
#
# a = copy.deepcopy(data2)
# b = copy.deepcopy(data2)
#
# a[1] = 100
# b[1] = 200
#
# print(data2, a, b)
'''
Inside Computer
# >>> Transfer: Speed
# >>> s1: 100, 100, 100
# >>> s2: 50, 50, 150
10, 20, 30, 40, 50 >> 50 : 100
10, 20, 30 >> 30 : 100
10, 20, ..., 1000 >> 1000 : 100
# >>>>>>>>>>>>> list: 주소 링크
'''
# data = []
#
# for i in range(5):
# v = [0] * 5
# data.append(v)
#
# print(data)
#
# data[2][2] = 5
# print(data)
# n = int(input())
# for i in range(0, n):
# for j in range(1, n+1):
# print(n*i+j, end=' ')
# print()
# n = int(input())
# for i in range(1, n+1):
# for j in range(0, n):
# print(n*i-j, end=' ')
# print()
# n = int(input())
# for i in range(1, n+1):
# for j in range(0, n):
# print(i+j*n, end=' ')
# print()