Problem:
 Score: 100 points    Problem Statement  The weather in Takahashi's town changes day by day, in the following cycle: Sunny, Cloudy, Rainy, Sunny, Cloudy, Rainy, ...  Given is a string S representing the weather in the town today. Predict the weather tomorrow.      Constraints   S is Sunny , Cloudy , or Rainy .         Input  Input is given from Standard Input in the following format:  S       Output  Print a string representing the expected weather tomorrow, in the same format in which input is given.        Sample Input 1 Sunny      Sample Output 1 Cloudy  In Takahashi's town, a sunny day is followed by a cloudy day.       Sample Input 2 Rainy      Sample Output 2 Sunny

Solution (Python):
S=input()
if S=="Sunny":
    print("Cloudy")
elif S=="Cloudy":
    print("Rainy")
else:
    print("Sunny")

Solution (Python):
T = ['Sunny','Cloudy','Rainy']
S = input()
print(T[1]) if S == T[0] else print(T[2]) if S == T[1] else print(T[0])

Solution (Python):
w=['Sunny','Cloudy','Rainy']
print(w[(w.index(input())+1)%3])

Solution (Python):
S=input()
if S=='Sunny':
    print('Cloudy')
if S=='Cloudy':
    print('Rainy')
if S=='Rainy':
    print('Sunny')

Solution (Python):
S=str(input())

if S=='Sunny':
  print('Cloudy')

elif S=='Cloudy':
  print('Rainy')
  
else:
  print('Sunny')

Solution (Python):
s = input()
if s=="Sunny":
    print('Cloudy')
elif s =="Cloudy":
    print("Rainy")
else:
    print("Sunny")

Solution (Python):
s = input()

mapping = {
  'Sunny': 'Cloudy',
  'Cloudy': 'Rainy',
  'Rainy': 'Sunny'
}

print(mapping[s])

Solution (Python):
weather=["Rainy","Cloudy","Sunny"]
print(weather[-1+weather.index(input())])

Solution (Python):
S = input()

if S == "Sunny":
    print("Cloudy")
elif S == "Cloudy":
    print("Rainy")
else:
    print("Sunny")

Solution (Python):
s=input()
if s=='Sunny':
  print('Cloudy')
elif s=='Cloudy':
  print('Rainy')
else:
  print('Sunny')

Solution (Python):
s = input()

if s == 'Sunny':
    print('Cloudy')
elif s == 'Cloudy':
    print('Rainy')
elif s == 'Rainy':
    print('Sunny')

Solution (Python):
w = ['Sunny','Cloudy','Rainy']
print(w[(w.index(input())+1) % 3])

Solution (Python):




def main():
    N = input()
    W = {'Sunny': 'Cloudy',
         'Cloudy': 'Rainy',
         'Rainy': 'Sunny'}
    print(W[N])


if __name__ == "__main__":
    main()

Solution (Python):
s = input()
weather = ["Sunny", "Cloudy", "Rainy"]
print(weather[(weather.index(s) + 1) % 3])

Solution (Python):
s = input()
print("Cloudy" if s=="Sunny" else "Sunny" if s=="Rainy" else "Rainy")

Solution (Python):
s = input()
if s == "Sunny":
    print("Cloudy")
elif s == "Cloudy":
    print("Rainy")
elif s == "Rainy":
    print("Sunny")

Solution (Python):
s = input()
if s == 'Sunny':
    print('Cloudy')
elif s == 'Cloudy':
    print('Rainy')
else:
    print('Sunny')

Solution (Python):
list = ['Sunny', 'Cloudy', 'Rainy']
S = input()
if (S == list[0]):print(list[1])
elif (S == list[1]): print(list[2])
else: print(list[0])

Solution (Python):
s = input()

sun = "Sunny"
cl = "Cloudy"
ra = "Rainy"

if s == sun:
    print(cl)
elif s == cl:
    print(ra)
else:
    print(sun)

Solution (Python):
s=input()

if s=="Sunny":
    print("Cloudy")
elif s=="Cloudy":
    print("Rainy")
else:
    print("Sunny")

Solution (Python):
s = input()

if s == 'Sunny':
    print('Cloudy')
if s == 'Cloudy':
    print('Rainy')
if s == 'Rainy':
    print('Sunny')

Solution (Python):
s = input()
list = ["Sunny", "Cloudy", "Rainy", "Sunny"]
id = list.index(s)
print(list[id + 1])

Solution (Python):
c = input()[0]
if c == 'S':
  print('Cloudy')
elif c == 'C':
  print('Rainy')
else:
  print('Sunny')

Solution (Python):
S = input()

Wetherlist = ["Sunny", "Cloudy", "Rainy"]
nextWether = Wetherlist.index(S)-2

print(Wetherlist[nextWether])

Solution (Python):
S = input()
w = ["Rainy","Cloudy", "Sunny"]
print(w[-1+w.index(S)])

Solution (Python):
S = input()

if S == "Sunny":
    print("Cloudy")
elif S == "Cloudy":
	print("Rainy")
else:
	print("Sunny")

Solution (Python):
S = input()
if S == 'Rainy':
  print('Sunny')
elif S == 'Sunny':
  print('Cloudy')
elif S == 'Cloudy':
  print('Rainy')

Solution (Python):
weather = ['Sunny', 'Cloudy', 'Rainy']
print(weather[weather.index(input()) - 2])

Solution (Python):
s=str(input())
a=['Sunny','Cloudy','Rainy','Sunny']
for i in range(4):
    if s==a[i]:
        print(a[i+1])
        break

Solution (Python):
l=["Sunny","Cloudy","Rainy"]
s=str(input())
print(l[(l.index(s)+1)%3])

Solution (Python):
s = input()

word_list = ["Sunny", "Cloudy", "Rainy"]
idx = word_list.index(s)
if idx == 2:
    print(word_list[0])
else:
    print(word_list[idx + 1])

Solution (Python):
s = input()
if s == 'Sunny':
    print ('Cloudy')
elif s == 'Cloudy':
    print ('Rainy')
else:
    print ('Sunny')

Solution (Python):
s=input()
t=["Sunny", "Cloudy", "Rainy","Sunny"]
print(t[t.index(s)+1])

Solution (Python):
S = input()
if S == "Sunny":
    print("Cloudy")
elif S == "Cloudy":
    print("Rainy")
else:
    print("Sunny")

Solution (Python):
import sys
input=sys.stdin.readline
N=input()[:1]
if N=="S":print("Cloudy")
elif N=="C":print("Rainy")
else:print("Sunny")

Solution (Python):
S=input()
X={"Sunny":1,"Cloudy":2,"Rainy":3,1:"Sunny",2:"Cloudy",3:"Rainy",4:"Sunny"}
print(X[X[S]+1])

Solution (Python):
S = input()
dic = {'Sunny':'Cloudy', 'Cloudy':'Rainy', 'Rainy':'Sunny'}
print(dic[S])

Solution (Python):
i = input();print('Cloudy' if i == 'Sunny' else 'Rainy' if i == 'Cloudy' else 'Sunny')

Solution (Python):
s = input()

if s == 'Sunny':
    print('Cloudy')
elif s == 'Cloudy':
    print('Rainy')
else:
    print('Sunny')

Solution (Python):
T = ["Sunny", "Cloudy", "Rainy"]
print T[(T.index(raw_input())+1)%3]

Solution (Python):
S = str(input())
if S == "Sunny" : print("Cloudy")
elif S == "Cloudy" : print("Rainy")
else : print("Sunny")

Solution (Python):
s = str(input())
if s == "Sunny":
  print("Cloudy")
elif s == "Cloudy":
  print("Rainy")
else:
  print("Sunny")

Solution (Python):
w = ["Sunny","Cloudy","Rainy"]
S = input()
print(w[(w.index(S)+ 1) % 3])

Solution (Python):
s=str(input())
if(s=="Sunny"):
  print("Cloudy")
  
if(s=="Cloudy"):
  print("Rainy")
  
if(s=="Rainy"):
  print("Sunny")

Solution (Python):
l = ["Sunny","Cloudy","Rainy"]

s = input()

for i in range(len(l)):
  if l[i] == s:
    print(l[(i+1)%3])

Solution (Python):
S=input()
w = ['Sunny', 'Cloudy', 'Rainy']
for i in range(len(w)):
    if S == w[i]:
        print(w[(i+1)%3])

Solution (Python):
W = ["Sunny", "Cloudy", "Rainy", "Sunny"]
S = input()
print(W[W.index(S) + 1])

Solution (Python):
S = input()

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

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

Solution (Python):


s=input()

d={
        "Sunny":"Cloudy",
        "Cloudy":"Rainy",
        "Rainy":"Sunny",
        }

print(d[s])

Solution (Python):
s = input()

if s == 'Sunny':
    print('Cloudy')
elif s == 'Cloudy':
    print('Rainy')
elif s == 'Rainy':
    print('Sunny')

Solution (Python):
S = input()

ans = ""

if S=="Sunny":
	print("Cloudy")
elif S=="Rainy":
	print("Sunny")
else:
	print("Rainy")

Solution (Python):
S = input()
if S == "Sunny":
  print("Cloudy")
elif S == "Cloudy":
  print("Rainy")
else:
  print("Sunny")

Solution (Python):
s=input()
if s=='Sunny':
    print('Cloudy')
elif s=='Cloudy':
    print('Rainy')
else:
    print('Sunny')

Solution (Python):

s=input()
tenki=["Sunny","Cloudy","Rainy"]
num=(tenki.index(s)+1)%3
print(tenki[num])

Solution (Python):
def solve(inp):
    S = inp.readline().strip()

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

    return w[w.index(S) + 1]


def test(s):
    from io import StringIO
    print(solve(StringIO(s)))


def main():
    import sys
    result = solve(sys.stdin)
    if result:
        print(result)


if __name__ == '__main__':
    
    main()

Solution (Python):
s = input()

if s == "Sunny":
    print("Cloudy")
elif s == "Cloudy":
    print("Rainy")
else:
    print("Sunny")

Solution (Python):
S=input()
w=['Sunny','Cloudy','Rainy']

if S==w[0]:print(w[1])
elif S==w[1]:print(w[2])
elif S==w[2]:print(w[0])

Solution (Python):

S = input()

if S == 'Sunny':
  ans = 'Cloudy'
elif S == 'Cloudy':
  ans = 'Rainy'
elif S == 'Rainy':
  ans = 'Sunny'

print(ans)

Solution (Python):
S = input()
if S == 'Sunny':
    print('Cloudy')
elif S == 'Cloudy':
    print('Rainy')
else:
    print('Sunny')

Solution (Python):
s = input()
l =["Sunny", "Cloudy", "Rainy", "Sunny"]

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

Solution (Python):
Tenki=input()
if Tenki=='Sunny':
    print('Cloudy')
elif Tenki=='Cloudy':
    print('Rainy')
else:
    print('Sunny')

Solution (Python):
S = input()

if S == "Sunny":
  print("Cloudy")
elif S == "Cloudy":
  print("Rainy")
else:
  print("Sunny")

Solution (Python):
s = input()
weather= ['Sunny', 'Cloudy', 'Rainy']
index = weather.index(s)
print(weather[(index + 1) % 3])

Solution (Python):
A = ("Sunny","Cloudy","Rainy")
N = 1 + A.index(input())

print(A[N] if N<= 2 else A[0])

Solution (Python):
S = input()

if S == "Sunny":
    print("Cloudy")
elif S == "Cloudy":
    print("Rainy")
else:
    print("Sunny")

Solution (Python):
s = input()
if s == 'Sunny':
    print('Cloudy')
if s == 'Cloudy':
    print('Rainy')
if s == 'Rainy':
    print('Sunny')

Solution (Python):
s = input()



if s == "Sunny":
    print("Cloudy")
elif s == "Cloudy":
    print("Rainy")
else:
    print("Sunny")

Solution (Python):
Weather = input()

if Weather == 'Sunny':
    print('Cloudy')

elif Weather == 'Cloudy':
    print('Rainy')

elif Weather == 'Rainy':
    print('Sunny')

Solution (Python):
S=input()
if S=="Sunny":
    print("Cloudy")
elif S=="Cloudy":
    print("Rainy")
else:
    print("Sunny")

Solution (Python):

S=input()

if S=="Sunny":
    print("Cloudy")
elif S=="Cloudy":
    print("Rainy")
elif S=="Rainy":
    print("Sunny")

Solution (Python):


S = input()
weather = ['Sunny', 'Cloudy', 'Rainy']

try:
    print(weather[weather.index(S)+1])
except IndexError:
    print(weather[0])

Solution (Python):
s = input()
if s == "Sunny":
    print("Cloudy")
elif s == "Cloudy":
    print("Rainy")
else:
    print("Sunny")

Solution (Python):
S = input()
if S == "Sunny":
  print("Cloudy")
elif S == "Rainy":
  print("Sunny")
else:
  print("Rainy")

Solution (Python):
d = {"Sunny":"Cloudy","Cloudy":"Rainy","Rainy":"Sunny"}
print(d[input()])

Solution (Python):
List = ['Sunny','Cloudy','Rainy']
s = input()
t = List.index(s)
if s == 'Rainy':
    print(List[0])
else:
    print(List[t+1])

Solution (Python):
S = input()
sun = "Sunny"
clo = "Cloudy"
rai = "Rainy"
if S == sun:
    S = clo
    print(S)
elif S == rai:
    S = sun
    print(S)
elif S == clo:
    S = rai
    print(S)

Solution (Python):
x=input()
if x=="Sunny" : 
 print("Cloudy")
if x=="Cloudy" :
 print("Rainy")
if x=="Rainy" :
 print("Sunny")

Solution (Python):
import sys, re, os
from collections import deque, defaultdict, Counter
from math import ceil, sqrt, hypot, factorial, pi, sin, cos, radians
from itertools import permutations, combinations, product, accumulate
from operator import itemgetter, mul
from copy import deepcopy
from string import ascii_lowercase, ascii_uppercase, digits
from fractions import gcd
 
def input(): return sys.stdin.readline().strip()
def INT(): return int(input())
def MAP(): return map(int, input().split())
def S_MAP(): return map(str, input().split())
def LIST(): return list(map(int, input().split()))
def S_LIST(): return list(map(str, input().split()))
 
sys.setrecursionlimit(10 ** 9)
INF = float('inf')
mod = 10 ** 9 + 7

s = input()
if s == "Sunny":
    print("Cloudy")
elif s == "Cloudy":
    print("Rainy")
else:
    print("Sunny")

Solution (Python):
W = {"Sunny": "Cloudy", "Cloudy": "Rainy", "Rainy": "Sunny"}
print(W[input()])

Solution (Python):
s=input()
weather=["Sunny", "Cloudy", "Rainy", "Sunny"]
for i in range(len(weather)):
  if weather.index(s)==i:
    print(weather[i+1])
    break

Solution (Python):
weather = ["Sunny", "Cloudy", "Rainy", "Sunny"]
S = input()
print (weather[1+weather.index(S)])

Solution (Python):
def nexttenki(today): 
    if today == 'Sunny':
        return 'Cloudy'
    elif today == 'Cloudy':
        return 'Rainy'
    else:
        return 'Sunny'


S = input()
print(nexttenki(S))

Solution (Python):
S = input()

print(("Cloudy" if S == "Sunny"
        else "Rainy" if S == "Cloudy"
        else "Sunny"))

Solution (Python):
S=input()
weather=['Sunny','Cloudy','Rainy']
n=weather.index(S)+1
if n>2:
    n-=3
print(weather[n])

Solution (Python):
s = input()
if s == 'Sunny':
    print('Cloudy')
elif s == 'Cloudy':
    print('Rainy')
else:
    print('Sunny')

Solution (Python):
S = str(input())

if S == "Sunny":
    print("Cloudy")
elif S == "Cloudy":
    print("Rainy")
elif S == "Rainy":
    print("Sunny")

Solution (Python):
S = input()
weathers = ["Sunny", "Cloudy", "Rainy"]
index = weathers.index(S) + 1
if index == 3:
    index = 0
print(weathers[index])

Solution (Python):
tenki = ['Sunny', 'Cloudy', 'Rainy']
S = input()

if S == tenki[0]:
  print(tenki[1])
elif S == tenki[1]:
  print(tenki[2])
else:
  print(tenki[0])

Solution (Python):
S=str(input())

weather={
  "Sunny": "Cloudy",
  "Cloudy": "Rainy",
  "Rainy": "Sunny"
}

if S in weather:
  print(weather.get(S))

Solution (Python):
w = ['Sunny', 'Cloudy', 'Rainy', 'Sunny']
print(w[(w.index(input()) + 1)])

Solution (Python):
s = input()
l = ['Sunny', 'Cloudy', 'Rainy']
print(l[l.index(s)-2])

Solution (Python):
s = input()
l = ['Sunny', 'Cloudy', 'Rainy', 'Sunny']
print(l[l.index(s)+1])

Solution (Python):
list=['Sunny','Cloudy','Rainy']
input1=input()
if input1=='Rainy':
  print ('Sunny')
else:
	print (list[list.index(input1)+1])

Solution (Python):
s = input()
if s == "Sunny":
  print("Cloudy")
elif s == "Cloudy":
  print("Rainy")
else:
  print("Sunny")

Solution (Python):
s = input()
if s == "Sunny":
    print("Cloudy")
elif s == "Cloudy":
    print("Rainy")
else:
    print("Sunny")

Solution (Python):
dic = {"Sunny": "Cloudy", "Cloudy": "Rainy", "Rainy": "Sunny"}
S = input()
print(dic[S])

Solution (Python):
l = ['Sunny', 'Cloudy', 'Rainy' ]
S = input()
if S == 'Rainy':
    print('Sunny')
else:
    print(l[l.index(S)+1])

Solution (Python):
c = input()
al = ["Sunny", "Cloudy", "Rainy"]

if al.index(c) < 2:
    print(al[al.index(c)+1])
else:
    print("Sunny")

Solution (Python):
today_weather = input()
weather = ['Sunny', 'Cloudy', 'Rainy']

def next_weather( today_weather : str ):
  return weather[ ( weather.index( today_weather ) + 1 ) % 3]
print( next_weather( today_weather ))

Solution (Python):
W = input()
if W == "Sunny":
  print("Cloudy")
if W == "Cloudy":
  print("Rainy")
if W == "Rainy":
  print("Sunny")

Solution (Python):
S = input()
if S == "Sunny":
  print("Cloudy")
if S == "Cloudy":
  print("Rainy")
if S == "Rainy":
  print("Sunny")

Solution (Python):
S=input()
if S=='Sunny':
  print('Cloudy')
elif S== 'Cloudy':
  print('Rainy')
else:
  print('Sunny')

Solution (Python):
s = input()

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

Solution (Python):
S=input()
if S=="Sunny":
    print("Cloudy")
elif S=="Cloudy":
    print("Rainy")
else:
    print("Sunny")

Solution (Python):
def main():
    s = input()

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

    index = slist.index(s) + 1

    if index == 3:
        index = 0

    print(slist[index])

if __name__ == '__main__':
    main()

Solution (Python):
s = input()
d = {'Sunny':'Cloudy', 'Cloudy':'Rainy', 'Rainy':'Sunny'}
print(d[s])

Solution (Python):
w={"Sunny":"Cloudy",
   "Cloudy":"Rainy",
   "Rainy":"Sunny"
  }

print(w[input()])

Solution (Python):
s=input()
if(s=='Sunny'):
    print('Cloudy')
elif(s=='Cloudy'):
    print('Rainy')
else:
    print('Sunny')

Solution (Python):
s = input()

if s == 'Sunny':
    print('Cloudy')
elif s == 'Cloudy':
    print('Rainy')
else:
    print('Sunny')

Solution (Python):
S = input()
weather = ['Sunny', 'Cloudy', 'Rainy']

index = weather.index(S)
ans = weather[(index + 1) % 3]

print(ans)

Solution (Python):



S = input()

if S == "Sunny" : 
    print("Cloudy")
elif S == "Cloudy" : 
    print("Rainy") 
elif S == "Rainy" : 
    print("Sunny")

Solution (Python):
T={'Sunny':'Cloudy','Cloudy':'Rainy','Rainy':'Sunny'}
print(T[str(input())])

Solution (Python):
s=input()
if s=="Sunny":
	print("Cloudy")
if s=="Cloudy":
	print("Rainy")
if s=="Rainy":
  	print("Sunny")

Solution (Python):
print({'Sunny':'Cloudy','Cloudy':'Rainy','Rainy':'Sunny'}[input()])

Solution (Python):
l=["Sunny","Cloudy","Rainy"]
print(l[(l.index(input())+1)%3])

Solution (Python):
x = input()
di = {"Sunny":"Cloudy", "Cloudy":"Rainy", "Rainy":"Sunny"}
print(di[x])

Solution (Python):
"""
author : halo2halo
date : 9, Jan, 2020
"""

import sys

read = sys.stdin.buffer.read
readline = sys.stdin.buffer.readline
readlines = sys.stdin.buffer.readlines
sys.setrecursionlimit(10 ** 7)

W = ['Sunny', 'Cloudy', 'Rainy']
A = readline().decode('utf8').rstrip()

print(W[(W.index(A) + 1) % 3])

Solution (Python):
s = input()

if s == 'Sunny':
  print("Cloudy")
elif s == 'Cloudy':
  print("Rainy")
else:
  print("Sunny")

Solution (Python):
l = ["Sunny", "Cloudy", "Rainy"]
s = input()
print(l[(l.index(s)+1)%3])

Solution (Python):
S = input()

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

num = weather.index(S)
if num == 2:
    num = -1

print(weather[num + 1])

Solution (Python):
a = input()

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

if a == "Rainy":
	print("Sunny")
else:
	print(w[w.index(a) + 1])

Solution (Python):
S = input()
weather = ["Sunny", "Cloudy", "Rainy"]

for i, w in enumerate(weather):
    if S == w:
        if i == 2:
             i = -1
        print(weather[i+1])
        exit()

Solution (Python):
def main():
    S = input()
    if S == "Sunny":
        print("Cloudy")
    elif S == "Rainy":
        print("Sunny")
    else:
        print("Rainy")
if __name__ == '__main__':
    main()

Solution (Python):
S = input()

if S == 'Sunny':
    print('Cloudy')
elif S == 'Cloudy':
    print('Rainy')
else:
    print('Sunny')

Solution (Python):
s = str(input())
if s == "Sunny":
  print("Cloudy")
elif s == "Cloudy":
  print("Rainy")
else:
  print("Sunny")

Solution (Python):
S=input()
 
if S == 'Sunny':
  print('Cloudy')
elif S == 'Cloudy':
  print('Rainy')
else:
  print('Sunny')

Solution (Python):
a = input()
if a == "Sunny":
  print ("Cloudy")
if a == "Cloudy":
  print ("Rainy")
if a == "Rainy":
  print ("Sunny")

Solution (Python):
mydict = {"Sunny":"Cloudy", "Cloudy":"Rainy", "Rainy":"Sunny"}
print(mydict[input()])

Solution (Python):
dict_ = {"Sunny":"Cloudy", "Cloudy":"Rainy", "Rainy":"Sunny"}
print(dict_[input()])

Solution (Python):
s = input()
if (s == 'Sunny'):
   print('Cloudy')
elif (s == 'Cloudy'):
   print('Rainy')
else:
   print('Sunny')

Solution (Python):
S = input()

if S == "Sunny":
  print("Cloudy")
elif S == "Cloudy":
  print("Rainy")
else:
  print("Sunny")

Solution (Python):
s = input()
weather = ['Sunny', 'Cloudy', 'Rainy']
ind = weather.index(s) + 1
print(weather[ind%3])

Solution (Python):
import math,string,itertools,fractions,heapq,collections,re,array,bisect,sys,copy,functools
import time,random

sys.setrecursionlimit(10**7)
inf = 10**20
eps = 1.0 / 10**10
mod = 10**9+7
dd = [(-1,0),(0,1),(1,0),(0,-1)]
ddn = [(-1,0),(-1,1),(0,1),(1,1),(1,0),(1,-1),(0,-1),(-1,-1)]

def LI(): return list(map(int, sys.stdin.readline().split()))
def LLI(): return [list(map(int, l.split())) for l in sys.stdin.readlines()]
def LI_(): return [int(x)-1 for x in sys.stdin.readline().split()]
def LF(): return [float(x) for x in sys.stdin.readline().split()]
def LS(): return sys.stdin.readline().split()
def I(): return int(sys.stdin.readline())
def F(): return float(sys.stdin.readline())
def S(): return input()
def pf(s): return print(s, flush=True)
def pe(s): return print(str(s), file=sys.stderr)
def JA(a, sep): return sep.join(map(str, a))
def JAA(a, s, t): return s.join(t.join(map(str, b)) for b in a)


def main():
    s = S()
    t = "Sunny, Cloudy, Rainy".split(", ")
    for i in range(3):
        if s == t[i]:
            return t[(i+1)%3]

    return -1


print(main())

Solution (Python):
S = input()

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

if S == lst[0]:
    print(lst[1])

elif S == lst[1]:
    print(lst[2])
else:
    print(lst[0])

Solution (Python):
s = input()

if s == "Sunny":
    print("Cloudy")
elif s == "Cloudy":
    print("Rainy")
else:
    print("Sunny")

Solution (Python):
INT = lambda: int(input())
INTM = lambda: map(int,input().split())
STRM = lambda: map(str,input().split())
STR = lambda: str(input())
LIST = lambda: list(map(int,input().split()))
LISTS = lambda: list(map(str,input().split()))
def do():
    s=STR()
    if s=='Sunny':
        print('Cloudy')
    elif s=='Cloudy':
        print('Rainy')
    else:
        print('Sunny')
if __name__ == '__main__':
    do()

Solution (Python):
x = input()

a,b,c ='Sunny', 'Cloudy', 'Rainy'

if x ==a:
    print(b)
elif x == b:
    print(c)
else:
    print(a)

Solution (Python):
s = input()
weather = {"Sunny":"Cloudy", "Cloudy":"Rainy","Rainy":"Sunny"}
print (weather[s])

Solution (Python):
S = input()
if(S == "Sunny"):
  print("Cloudy")
elif(S == "Cloudy"):
  print("Rainy")
else:
  print("Sunny")

Solution (Python):
s = str(input())
if s == "Sunny":
 print("Cloudy")
elif s == "Cloudy":
 print("Rainy")
else:
 print("Sunny")

Solution (Python):
s = input()

if s == "Sunny":
    print("Cloudy")
elif s == "Cloudy":
    print("Rainy")
elif s == "Rainy":
    print("Sunny")

Solution (Python):
def main():
    S = input()
    d = {'Rainy': 'Sunny', 'Cloudy': 'Rainy', 'Sunny': 'Cloudy'}
    print(d[S])


if __name__ == '__main__':
    main()

Solution (Python):
S = input()

if 'Sunny' == S:
    print('Cloudy')
elif 'Cloudy' == S:
    print('Rainy')
else:
    print('Sunny')

Solution (Python):
import sys

if sys.platform =='ios':
	sys.stdin=open('Untitled.txt')
input = sys.stdin.readline
def INT(): return int(input())
def MAP(): return [int(s) for s in input().split()]

W = ['Sunny', 'Cloudy', 'Rainy']
S = input().rstrip()
print(W[(W.index(S)+1)%3])

Solution (Python):
s = input()

if s == 'Sunny':
    print('Cloudy')
elif s == 'Cloudy':
    print('Rainy')
else:
    print('Sunny')

Solution (Python):
import sys
input = sys.stdin.readline
s=input().strip()
if s=="Sunny":
    print("Cloudy")
if s=="Cloudy":
    print("Rainy")
if s=="Rainy":
    print("Sunny")

Solution (Python):
S = input()
if S == 'Sunny':
    print('Cloudy')
elif S == 'Cloudy':
    print('Rainy')
else:
    print('Sunny')

Solution (Python):
weather = input()
if weather == 'Sunny':
  print('Cloudy')
elif weather == 'Cloudy':
  print('Rainy')
else:
  print('Sunny')

Solution (Python):
S = input()
if S == 'Sunny':
    print('Cloudy')
elif S == 'Cloudy':
    print('Rainy')
else:
    print('Sunny')

Solution (Python):
s=input()
if s=="Sunny":
  print("Cloudy")
elif s=="Cloudy":
  print("Rainy")
else:
  print("Sunny")

Solution (Python):
s = input()

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

for i in range(len(w)):
    if s==w[i]:
        j=(i+1)%3
        print(w[j])

Solution (Python):
s = input()

if s == 'Sunny':
  print('Cloudy')
elif s == 'Cloudy':
  print('Rainy')
else:
  print('Sunny')

Solution (Python):
s = input()

if s[0]=="S":
    print("Cloudy")
elif s[0]=="C":
    print("Rainy")
else:
    print("Sunny")

Solution (Python):
s = input()

if s == "Sunny":
    print("Cloudy")
elif s == "Cloudy":
    print("Rainy")
else:
    print("Sunny")

Solution (Python):
def main():
	
	
	n = str(input())
	
	
	
	
	l = ['Sunny', 'Cloudy', 'Rainy']

	if n == l[0]:
		print(l[1])
	if n == l[1]:
		print(l[2])
	if n == l[2]:
		print(l[0])

 
if __name__ == '__main__':
	main()

Solution (Python):
s = input()

if s == "Sunny":
    print("Cloudy")
elif s == "Cloudy":
    print("Rainy")
elif s == "Rainy":
    print("Sunny")

Solution (Python):
weather={"Sunny":"Cloudy","Cloudy":"Rainy","Rainy":"Sunny"}
a=input()
print(weather[a])

Solution (Python):
S = input()

if S == "Sunny":
    print("Cloudy")
elif S == "Cloudy":
    print("Rainy")
else:
    print("Sunny")

Solution (Python):
w = {'Sunny':'Cloudy','Cloudy':'Rainy','Rainy':'Sunny'}
print(w.get(input()))

Solution (Python):
str = input()

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

ans_index = weather.index(str)

ans = weather[ans_index+1]

print(ans)

Solution (Python):
A = input()
if A == "Sunny":
    print("Cloudy")
elif A == "Cloudy":
    print("Rainy")
elif A == "Rainy":
    print("Sunny")

Solution (Python):
N = ["Sunny","Cloudy","Rainy"]
print(N[N.index(input())-2])

Solution (Python):
S=input()
weather = ['Sunny', 'Cloudy', 'Rainy']
index = (weather.index(S)+1)%3
print(weather[index])

Solution (Python):
tenki=['Sunny','Cloudy','Rainy','Sunny']
s=input()
for i in range(3):
  if s==tenki[i]:
    kotae=tenki[i+1]
print(kotae)

Solution (Python):
s= input()
w= {'Sunny':"Cloudy","Cloudy":"Rainy","Rainy":"Sunny"}
print(w[s])

Solution (Python):
s = input()
dic = {'Sunny':'Cloudy', 'Cloudy':'Rainy', 'Rainy':'Sunny'}
print(dic[s])

Solution (Python):
days = {
    "S": "Cloudy",
    "C": "Rainy",
    "R": "Sunny"
}

print(days[input()[0]])

Solution (Python):
S = input()
list = {'Sunny':1, 'Cloudy':2, 'Rainy':3}
K = {1:'Cloudy',2:'Rainy',3:'Sunny'}
A = list[S]
print(K.get(A))

Solution (Python):
s = input()
weather  =  {'Sunny':'Cloudy', 'Cloudy':'Rainy', 'Rainy':'Sunny'}
print(weather[s])

Solution (Python):
S = input()

weather = {"Sunny": "Cloudy", "Cloudy": "Rainy", "Rainy": "Sunny"}

print(weather[S])

Solution (Python):
s=input()
if s=='Sunny': 
    print('Cloudy')
elif s=='Cloudy':
    print('Rainy')
else:
    print('Sunny')

Solution (Python):
w = ['Rainy', 'Cloudy', 'Sunny']
print(w[w.index(input())-1])

Solution (Python):
S = input()
if S[0] == 'S':
    print('Cloudy')
elif S[0] == 'C':
    print('Rainy')
else:
    print('Sunny')

Solution (Python):
a, b = ["Sunny", "Cloudy", "Rainy"], input()

print(a[([i for i in range(3) if a[i] == b][0] + 1) % 3])

Solution (Python):
S = input()

if S == "Sunny":
    print("Cloudy")

elif S == "Cloudy":
    print("Rainy")

else:
    print("Sunny")

Solution (Python):
S = input()

if S == "Rainy":
  print("Sunny")
elif S == "Cloudy":
  print("Rainy")
else:
  print("Cloudy")

Solution (Python):
S = input()
W = ['Sunny','Cloudy','Rainy','Sunny']

print(W[W.index(S)+1])

Solution (Python):
a=input()

if a=="Sunny":
  print("Cloudy")
elif a=="Cloudy":
  print("Rainy")
else:
  print("Sunny")

Solution (Python):
dict = {"Sunny":1, "Cloudy":2, "Rainy":3}
A = input()
B = dict[A]
if B == 1:
    print("Cloudy")
elif B == 2:
    print("Rainy")
elif B == 3:
    print("Sunny")

Solution (Python):
S = input()

if S == "Sunny":
    print("Cloudy")
elif S == "Cloudy":
    print("Rainy")
elif S == "Rainy":
    print("Sunny")

Solution (Python):

 
import math
import itertools
import sys
import copy
 


S = str(input())

if S == "Sunny" :
  print ("Cloudy")
elif S == "Cloudy" :
  print ("Rainy")
else :
  print ("Sunny")

Solution (Python):
weather = ["Sunny", "Cloudy", "Rainy"]

S = input()

for i, w in enumerate(weather):
  if w == S:
    break
    
print(weather[(i + 1) % 3])

Solution (Python):
S = input()

W = {"Sunny":"Cloudy","Cloudy":"Rainy","Rainy":"Sunny"}

print(W[S])

Solution (Python):
print({'Rainy': 'Sunny', 'Sunny': 'Cloudy', 'Cloudy': 'Rainy'}[input()])

Solution (Python):
L = ['Sunny', 'Cloudy', 'Rainy']
S = input()

for idx, w in enumerate(L):
    if S == w:
        print(L[(idx + 1) % 3])
        exit()

Solution (Python):
a = input()

if a == 'Sunny':
    print('Cloudy')
elif a == 'Cloudy':
    print('Rainy')
elif a == 'Rainy':
    print('Sunny')

Solution (Python):
s = input()
d = {}
d["Cloudy"] = "Rainy"
d["Rainy"] = "Sunny"
d["Sunny"] = "Cloudy"
print(d[s])

Solution (Python):
s=input()
a={'Sunny':'Cloudy','Cloudy':'Rainy','Rainy':'Sunny'}
print(a[s])

Solution (Python):
weather = ["Sunny", "Cloudy", "Rainy"]
S = input()
i = weather.index(S)
print(weather[(i + 1) % 3])

Solution (Python):
s={}
s["Sunny"]="Cloudy"
s["Cloudy"]="Rainy"
s["Rainy"]="Sunny"
print(s[input()])

Solution (Python):
S = input()
weather = ['Sunny', 'Cloudy', 'Rainy']
print(weather[(weather.index(S)+1)%3])

Solution (Python):
s = input().strip()
S = ['Sunny', 'Cloudy', 'Rainy']
N = ['Cloudy', 'Rainy', 'Sunny']

print(N[S.index(s)])

Solution (Python):
a=["Sunny","Cloudy","Rainy"]
i=a.index(input())
print(a[i-2])

Solution (Python):

s=input()
if s=="Sunny":
    ans="Cloudy"
elif s=="Cloudy":
    ans="Rainy"
else:
    ans="Sunny"
print(ans)

Solution (Python):
s = input()
s_list=("Sunny","Cloudy","Rainy","Sunny")
tom = s_list.index(s)+1
print(s_list[tom])

Solution (Python):
a = input()
if a == 'Sunny':
  print('Cloudy')
elif a == 'Cloudy':
  print('Rainy')
else:
  print('Sunny')

Solution (Python):
s = input()
weather = ["Sunny", "Cloudy", "Rainy"]

print(weather[(weather.index(s)+1)%3])

Solution (Python):
s = str(input())

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

if s == weth[0]:
    ans = weth[1]
elif s == weth[1]:
    ans = weth[2]
else:
    ans = weth[0]
    
print(ans)

Solution (Python):
input_wtr = str(input())
wtr = ['Sunny','Cloudy','Rainy']

if input_wtr == wtr[-1]:
    print(wtr[0])
else:
    print(wtr[wtr.index(input_wtr)+1])

Solution (Python):
s=input()
dict={'Rainy':'Sunny', 'Sunny':'Cloudy', 'Cloudy':'Rainy'}
print(dict[s])

Solution (Python):
S = input()
if S == 'Sunny':
    print('Cloudy')
elif S == 'Cloudy':
    print('Rainy')
else:
    print('Sunny')

Solution (Python):
s = input()
if s == "Sunny":
  print("Cloudy")
if s == "Cloudy":
  print("Rainy")
if s == "Rainy":
  print("Sunny")

Solution (Python):
a=input()
if a=="Sunny":
  print("Cloudy")
elif a=="Cloudy":
  print("Rainy")
else:
  print("Sunny")

Solution (Python):
s=input()
a=""
if(s=="Sunny"):a="Cloudy"
if(s=="Cloudy"):a="Rainy"
if(s=="Rainy"):a="Sunny"
print(a)

Solution (Python):
s=input()
print('Sunny' if s == 'Rainy' else 'Cloudy' if s == 'Sunny' else 'Rainy')

Solution (Python):
s=input()
if s=="Sunny":
	print("Cloudy")
elif s=="Cloudy":
	print("Rainy")
elif s=="Rainy":
	print("Sunny")

Solution (Python):
s = input()
A = [ 'Sunny', 'Cloudy', 'Rainy' ]

print(A[(A.index(s)+1)%3])

Solution (Python):
s = input()
w = ["Sunny", "Cloudy", "Rainy"]
print(w[(w.index(s) + 1) % 3])

Solution (Python):
s = input()
if s=="Sunny":
    print("Cloudy")
if s=="Cloudy":
    print("Rainy")
if s=="Rainy":
    print("Sunny")

Solution (Python):
li = ["Sunny", "Cloudy", "Rainy"]
S = input()
index = li.index(S)
print(li[(index+1)%3])

Solution (Python):
S=input()
Wether=["Sunny","Cloudy","Rainy"]
if S==Wether[0]:
    print(Wether[1])
elif S==Wether[1]:
    print(Wether[2])
elif S==Wether[2]:
    print(Wether[0])

Solution (Python):
S=input()
if S=="Sunny":
  print("Cloudy")
if S=="Cloudy":
  print("Rainy")
if S=="Rainy":
  print("Sunny")

Solution (Python):
res = {'Sunny':'Cloudy', 'Cloudy':'Rainy', 'Rainy':'Sunny'}
print(res[input()])

Solution (Python):
weather=["Sunny","Cloudy","Rainy"]

S=input()

index=weather.index(S)

if index==2:
  print(weather[0])
else:
  print(weather[index+1])

Solution (Python):
today = input()
if today == "Sunny":
    print("Cloudy")
if today == "Cloudy":
    print("Rainy")
if today == "Rainy":
    print("Sunny")

Solution (Python):
a=input()
if a=='Sunny':
  print('Cloudy')
elif a=='Cloudy':
  print('Rainy')
else:
  print('Sunny')

Solution (Python):
weather=input()

forecast={"Sunny":"Cloudy","Cloudy":"Rainy","Rainy":"Sunny"}

print(forecast[weather])

Solution (Python):
S = str(input())
if S == "Sunny":
    print("Cloudy")
elif S == "Cloudy":
    print("Rainy")
else:
    print("Sunny")

Solution (Python):
S = input()

if S == "Sunny":
    print("Cloudy")
elif S == "Cloudy":
    print("Rainy")
else:
    print("Sunny")

Solution (Python):
import sys

a = input()

if a == 'Sunny':
    print('Cloudy')
elif a == 'Cloudy' :
    print('Rainy')
elif a == 'Rainy':
    print('Sunny')