n = input()
if n == '1': print('AC')
if n == '2': print('Wrong Answer')
if n == '3':
while 1: pass
print('TLE')
if n == '4':
lst = []
print(lst[114514])
print('RE')
if n == '5':
lst = []
while 1:
lst.append('MLE' * 1919810)
print('MLE')
if n == '6': print('P E')
if n == '7':
while 1:
print('OLEOLEOLE')