l=["Sunny","Cloudy","Rainy"]

print((l[(l.index(eval(input()))+1)%3]))

l=["Rainy","Cloudy","Sunny"]

print((l[l.index(eval(input()))-1]))
l = ["Sunny", "Cloudy", "Rainy"]
print((l[(l.index(eval(input())) + 1) % 3]))

l = ["Rainy", "Cloudy", "Sunny"]
print((l[l.index(eval(input())) - 1]))

-l = ["Sunny", "Cloudy", "Rainy"] -print((l[(l.index(eval(input())) + 1) % 3])) +l = ["Rainy", "Cloudy", "Sunny"] +print((l[l.index(eval(input())) - 1]))