# (c) david vajda
# 10/15/25
# rsa - decrypt
encrypted = [36, 36, 75, 36, 0, 30, 75, 90, 36, 45, 30, 36, 14, 25, 14, 25, 14, 45]
i = 0
while i < len (encrypted):
j = 1
x = encrypted [i]
while j < 131:
x = (x * encrypted [i]) % 119
j = j + 1
print (x)
i = i + 1