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):
weather = ("Sunny", "Cloudy", "Rainy")

def indexForcast(present_index = 0):
    if present_index == len(weather) - 1:
        present_index = -1
    return present_index + 1

today_weather = input()

present_index = weather.index(today_weather)

weather_forcast = weather[indexForcast(present_index)]
print(weather_forcast)

Solution (Python):
S = input()

cycle = ['Sunny', 'Cloudy', 'Rainy']
i = cycle.index(S)
print(cycle[(i + 1) % len(cycle)])

Solution (Python):
S = input()
out = ["Sunny","Cloudy","Rainy"]
count = 1
for s in out:
    if s == S:
        print(out[count % 3])
        break
    count += 1

Solution (Python):
s = input()

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

Solution (Python):


import math
import sys


DEBUG = False


def inp():
    return sys.stdin.readline().rstrip()


def dprint(*value, sep=' ', end='\n'):
    if DEBUG:
        print(*value, sep=sep, end=end)


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


if __name__ == '__main__':
    main()

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

solve()

Solution (Python):
S = input()

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

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

else:
  print("Sunny")

Solution (Python):


def get_answer(input_list):
    w = ["Sunny", "Cloudy", "Rainy"]
    index = w.index(input_list[0])
    return w[(index + 1) % len(w)]



if __name__ == "__main__":
    input_list = []
    while True:
        try:
            input1 = input()
            if not input1:
                break
            if len(input1) == 0:
                break
            input_list.append(input1)
        except EOFError:
            break
    print(get_answer(input_list))

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

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

w = ('Sunny','Cloudy','Rainy','Sunny')

ns = w[w.index(s) + 1]

print(ns)

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):
weather = ["Sunny","Cloudy","Rainy"]
w_today = input()
for i in range(0, 3):
    if w_today == weather[i]:
        if i==2 :
            print(weather[0])
        else :
            print(weather[i+1])

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

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

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

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

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

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

Solution (Python):
hoge=input()
if(hoge=="Sunny"):
  print("Cloudy")
elif(hoge=="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()

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

Solution (Python):
S = input()

n = ["Sunny", "Cloudy", "Rainy"]
today = n.index(S)
ans = n[(today + 1) % 3]
print(ans)

Solution (Python):

s = input()
m = {"Sunny": "Cloudy", "Cloudy": "Rainy", "Rainy": "Sunny"}

print(m[s])

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']

today = tenki.index(s)
print(tenki[(today + 1) % 3])

Solution (Python):
if __name__ == '__main__':
    s = input()
    if s == "Sunny":
        print("Cloudy")
    elif s == "Cloudy":
        print("Rainy")
    elif s == "Rainy":
        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()
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')
else:
  print('Sunny')

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

Solution (Python):
s = input()

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

Solution (Python):
n = input()

if n == "Sunny":
    print("Cloudy")
elif n=="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):
print({'Sunny': 'Cloudy', 'Cloudy': 'Rainy', 'Rainy': 'Sunny'}[input()])

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

Solution (Python):
SU='Sunny'
CL='Cloudy'
RA='Rainy'
DICT={SU:CL, CL:RA, RA:SU}
indata=input()
print(DICT[indata])

Solution (Python):
S = input()

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

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

Solution (Python):
s = input()

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

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

Solution (Python):
import sys
from collections import defaultdict
from heapq import *
sys.setrecursionlimit(200000)
input = sys.stdin.readline




S = input().strip()

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

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

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

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

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

if S== R[0]:
  print(R[1])
elif S==R[1]:
  print(R[2])
else:
  print(R[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 == 'Cloudy':
    print('Rainy')
else:
    print('Sunny')

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

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

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):
import sys

stdin = sys.stdin

sn = lambda : stdin.readline().rstrip()
an = lambda : map(int, stdin.readline().split())
ni = lambda : int(sn())

s = sn()

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

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

Solution (Python):
S="Sunny"
C="Cloudy"
R="Rainy"

wh = input()

dict = {S:C,C:R,R:S}

print(dict[wh])

Solution (Python):
ans = ['Sunny', 'Cloudy', 'Rainy']

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

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

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

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

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

Solution (Python):
weather = input()

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

Solution (Python):
n = input()
if n == "Sunny":
  print("Cloudy")
elif n == "Cloudy":
  print("Rainy")
elif n == "Rainy":
  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):
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):
s = input()

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

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

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

Solution (Python):
weather = {
'Sunny' : 'Cloudy',
'Cloudy' : 'Rainy',
'Rainy' : 'Sunny',
}

print(weather[input()])

Solution (Python):
import sys
sys.setrecursionlimit(1000000000)
ii = lambda: int(input())
mis = lambda: map(int, input().split())
lmis = lambda: list(mis())

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

main()

Solution (Python):
s=input()

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

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

Solution (Python):

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


def main():
    w = input()

    next_index = WETHERS.index(w) + 1
    print(WETHERS[next_index % len(WETHERS)])


if __name__ == '__main__':
    main()

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

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

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

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):
inp = input()

if inp =="Sunny":
  print ("Cloudy")
elif inp == "Cloudy":
  print ("Rainy")
elif inp =="Rainy":
  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):
s = input()



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

Solution (Python):
today_weather = input()
list = ['Sunny', 'Cloudy', 'Rainy']
for i in range(0, 3):
	if(today_weather==list[i]):
		next_weather = list[(i+1)%3]
print(next_weather)

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

Solution (Python):
import sys

S=sys.stdin.readline().rstrip()
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):
x = ["Sunny","Cloudy","Rainy"]
s = input()
print(x[(x.index(s)+1)%3])

Solution (Python):
word = input()

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

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

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

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

Solution (Python):
def weather_prediction():
    today = input()
    print(tomorrow_weather_q(today))

def tomorrow_weather_q(today):
    if today == "Sunny":
        return "Cloudy"
    elif today == "Cloudy":
        return "Rainy"
    elif today == "Rainy":
        return "Sunny"
    else:
        return 0

weather_prediction()

Solution (Python):
weather = input()

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

print(list[weather])

Solution (Python):
weather = input()

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

Solution (Python):
whether = input()

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

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):
i=input()

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

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

Solution (Python):
n=input()
l=['Rainy','Cloudy','Sunny']
print(l[l.index(n)-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):
s=input()
d=["Sunny","Cloudy","Rainy","Sunny"]
print(d[d.index(s)+1])

Solution (Python):
w = ['Sunny', 'Cloudy', 'Rainy']
	
while True:
	try:
		s = input()
		idx = w.index(s)
		print(w[(idx+1)%3])
	except:
		break

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

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

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

Solution (Python):
print({"S": "Cloudy", "C": "Rainy", "R": "Sunny"}[input()[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 == "Cloudy":
    print("Rainy")
else:
    print("Sunny")

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

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

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

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

Solution (Python):



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

def next_weather(s):
    return WEATHER[(WEATHER.index(s)+1)%len(WEATHER)]

def main():
    s = input()
    print(next_weather(s))

if __name__ == "__main__":
    main()

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

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

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

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

Solution (Python):
weather = {'Sunny': 'Cloudy', 'Cloudy': 'Rainy', 'Rainy': 'Sunny'}

print(weather[input()])

Solution (Python):
import sys
S = sys.stdin.readline().rstrip()
L = ['Sunny', 'Cloudy', 'Rainy']
if S ==L[0]:
    print(L[1])
elif S ==L[1]:
    print(L[2])
elif S ==L[2]:
    print(L[0])

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 W.index(S) == 2:
    print(W[0])
else:
    print(W[W.index(S)+1])

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')
elif 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()
if s=='Sunny':
  print('Cloudy')
if s=='Cloudy':
  print('Rainy')
if s=='Rainy':
  print('Sunny')

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

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

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

Solution (Python):


s=raw_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):
l=' RainyCloudySunny';print(l[l.find(input())-6:][:6])

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

if __name__ == '__main__':
  main()

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

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

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()
x = {"Sunny" :"Cloudy", "Cloudy": "Rainy", "Rainy": "Sunny"}
print(x[S])

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

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

Solution (Python):
S = 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 = 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()

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

Solution (Python):
W = input()
wether = ['Sunny','Cloudy','Rainy']
i = 0
while W != wether[i]:
  i+=1
print(wether[(i+1)%3])

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

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):
s = input()
if s == 'Sunny':
  print("Cloudy")
elif s == "Cloudy":
  print("Rainy")
else:
  print("Sunny")

Solution (Python):

import sys


def solve(S: str):
    s = S
    weather_list = ["Sunny", "Cloudy", "Rainy"]

    index = weather_list.index(s)
    if index != 2:
        print(weather_list[index + 1])
    elif index == 2:
        print(weather_list[0])

    return


def main():
    def iterate_tokens():
        for line in sys.stdin:
            for word in line.split():
                yield word

    tokens = iterate_tokens()
    S = next(tokens)  
    solve(S)


if __name__ == "__main__":
    main()

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

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

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

Solution (Python):

import sys


def solve(S: str):
    s = S
    weather_list = ["Sunny", "Cloudy", "Rainy"]

    index = weather_list.index(s)
    if index != 2:
        print(weather_list[index + 1])
    elif index == 2:
        print(weather_list[0])



def main():
    def iterate_tokens():
        for line in sys.stdin:
            for word in line.split():
                yield word

    tokens = iterate_tokens()
    S = next(tokens)  
    solve(S)


if __name__ == "__main__":
    main()

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

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

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

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

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']

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

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')
elif  S == 'Rainy':
    print('Sunny')

Solution (Python):
from sys import stdin
S = (stdin.readline().rstrip())
if S[0] == "S":
    print("Cloudy")
elif S[0] == "C":
    print("Rainy")
else:
    print("Sunny")

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

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

Solution (Python):
l='Rainy CloudySunny ';print(l[l.find(input())-6:][:6])

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 == "Rainy":
    print("Sunny")

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

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

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

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

Solution (Python):
r=["Sunny","Cloudy","Rainy"];print(r[-~r.index(input())%3])

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

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

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

Solution (Python):
import math

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')
elif S == 'Rainy':
    print('Sunny')

Solution (Python):
a = ["Sunny", "Cloudy", "Rainy"]
s = input()
for i in range(0, 3):
  if s == a[i]:
    print(a[(i+1)%3])

Solution (Python):
s = input()
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=='Rainy':
    print('Sunny')
else:
  print('Rainy')

Solution (Python):
l='Rainy CloudySunny ';print(l[l.find(input())-6:][:6])

Solution (Python):
s = input()

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

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

Solution (Python):
import sys

def main():
    N = sys.stdin.readline().rstrip()
    w = ['Sunny', 'Cloudy', 'Rainy']
    i = w.index(N)
    print(w[(i+1)%3])

if __name__=='__main__':
    main()

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

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

Solution (Python):
import sys
 

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

if __name__ == "__main__":
    main()

Solution (Python):
d = {"Sunny": "Cloudy", "Cloudy": "Rainy", "Rainy": "Sunny"}
print(d[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[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):
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()
print('Cloudy' if s=='Sunny' else 'Rainy' if s=='Cloudy' else 'Sunny')

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

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

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

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']
n = weather.index(s)
if n == 2:
    print(weather[0])
else:
    print(weather[n + 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):
d = {
    'Sunny': 'Cloudy',
    'Cloudy': 'Rainy',
    'Rainy': 'Sunny'
}

i = input()

print(d[i])

Solution (Python):
a = input()
if a =='Sunny':
  print ('Cloudy')
elif a =='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")
if s=="Cloudy":
  print("Rainy") 
if s=="Rainy":
  print("Sunny")

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

if __name__ == "__main__":
    solve()

Solution (Python):
tenki = input()

if tenki == "Sunny":
    print("Cloudy")
if tenki == "Cloudy":
    print("Rainy")
if tenki == "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")
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()
if s == "Sunny":
    print("Cloudy")
elif s == "Cloudy":
    print("Rainy")
else:
    print("Sunny")

Solution (Python):
a = input()
k = ["Sunny","Cloudy","Rainy","Sunny"]
for i in range(3):
  if a == k[i]:
    print(k[i+1])

Solution (Python):
S = input()

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

Solution (Python):
to_w=input()
w_predict=['Sunny','Cloudy','Rainy']
ind=w_predict.index(to_w[0].upper()+to_w[1:])

print(w_predict[(ind+1)%3])

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

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

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