l = ['Sunny','Cloudy','Rainy']
s = input()

save = 0
for i in range(3):
    if(l[i]==s):
        save = i

save = (save+1)%3
print(l[save]) l = ['Sunny','Cloudy','Rainy'] l ['Sunny','Cloudy','Rainy'] 'Sunny' 'Cloudy' 'Rainy' s = input() s input() input save = 0 save 0 for i in range(3):
    if(l[i]==s):
        save = i i range(3) range 3 if(l[i]==s):
        save = i l[i]==s l[i] l i s save = i save i save = (save+1)%3 save (save+1)%3 save+1 save 1 3 print(l[save]) print l[save] l save save = (save+1)%3 (save+1)%3 save l = ['Sunny','Cloudy','Rainy'] ['Sunny','Cloudy','Rainy'] l s = input() input() s save = i i save save = 0 0 save
l = ['Sunny','Cloudy','Rainy']
s = input()

save = 0
for i in range(3):
    if(l[i]==s):
        save = i

save = (save+1)%3
print(l[save])