Weather = ['Sunny','Cloudy','Rainy']

print((Weather[(Weather.index(eval(input())) + 1) % 3]))
S = eval(input())

Weather = ['Sunny','Cloudy','Rainy']

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

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

+S = eval(input()) -print((Weather[(Weather.index(eval(input())) + 1) % 3])) +print((Weather[(Weather.index(S) + 1) % 3]))