s = eval(input())

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

print((wether[wether.index(s) + 1]))
l = ["Sunny", "Cloudy", "Rainy", "Sunny"]

s = eval(input())

print((l[l.index(s) + 1]))

s = eval(input())
wether = ["Sunny", "Cloudy", "Rainy", "Sunny"]
print((wether[wether.index(s) + 1]))

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

+l = ["Sunny", "Cloudy", "Rainy", "Sunny"] -wether = ["Sunny", "Cloudy", "Rainy", "Sunny"] -print((wether[wether.index(s) + 1])) +print((l[l.index(s) + 1]))