# marks=int(input("Enter your marks "))
# if marks>500:
#     print("Stop wasting money")
#     exit()

for i in range(10):
    print(i)

for every in range(10):
    print(every*every)
if every==8:

 days=[" M","T","W","T","F","S","SN"]
for every in days:
    print(every)