s = eval(input())

if s == "Sunny":

  print("Cloudy")

elif s == "Cloudy":

  print("Rainy")

elif s == "Rainy":

  print("Sunny")
data = ['Sunny', 'Cloudy', 'Rainy']

s = eval(input())

if s == data[0]:

  print((data[1]))

elif s == data[1]:

  print((data[2]))

else:

  print((data[0]))
s = eval(input())
if s == "Sunny":
    print("Cloudy")
elif s == "Cloudy":
    print("Rainy")
elif s == "Rainy":
    print("Sunny")

data = ["Sunny", "Cloudy", "Rainy"]
s = eval(input())
if s == data[0]:
    print((data[1]))
elif s == data[1]:
    print((data[2]))
else:
    print((data[0]))

+data = ["Sunny", "Cloudy", "Rainy"] -if s == "Sunny": -    print("Cloudy") -elif s == "Cloudy": -    print("Rainy") -elif s == "Rainy": -    print("Sunny") +if s == data[0]: +    print((data[1])) +elif s == data[1]: +    print((data[2])) +else: +    print((data[0]))