root = 62 #Генератор поля
n = 71; #Характеристика поля

for p in range(n):
	print(root**p % n, ' ')
print(root**n % n)