'''
Created on Feb 25, 2019

@author: vijay.pal01
'''
#set1=[10,1,6,8,5,8,9,0]
#set2=[]
#for i in set1:
    #if(i not in set2 ):
         #set2.append(i)
#print(set2)
example=["sun","moon","star"]
for i in range(0,len(example)):
     
         print(example[i][::-1])
     
     
        
    
   