S = input()
L = ["Sunny", "Cloudy", "Rainy"]

for i in range(3):
  if L[i] == S:
    print(L[(i+1)%3]) S = input() S input() input L = ["Sunny", "Cloudy", "Rainy"] L ["Sunny", "Cloudy", "Rainy"] "Sunny" "Cloudy" "Rainy" for i in range(3):
  if L[i] == S:
    print(L[(i+1)%3]) i range(3) range 3 if L[i] == S:
    print(L[(i+1)%3]) L[i] == S L[i] L i S print(L[(i+1)%3]) print L[(i+1)%3] L (i+1)%3 i+1 i 1 3 L = ["Sunny", "Cloudy", "Rainy"] ["Sunny", "Cloudy", "Rainy"] L S = input() input() S
S = input()
L = ["Sunny", "Cloudy", "Rainy"]

for i in range(3):
  if L[i] == S:
    print(L[(i+1)%3])