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

import sys


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

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

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

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

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

Solution (Python):
s = input()
list_1 = ["Sunny","Cloudy","Rainy"]
t = list_1.index(s)
if t == 0:
    print("Cloudy")
elif t == 1:
    print("Rainy")
else:
    print("Sunny")

Solution (Python):
today = input()

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

Solution (Python):



import sys, os

def main():
    sun = "Sunny"
    clo = "Cloudy"
    rin = "Rainy"
    today = input()
    if today == sun:
        ans = clo
    elif today == clo:
        ans = rin
    elif today == rin:
        ans = sun

    print(ans)    
if __name__ == "__main__" :
    main()

Solution (Python):
s = input()
list_1 = ["Sunny","Cloudy","Rainy"]
t = list_1.index(s)
if t == 0:
    print("Cloudy")
elif t == 1:
    print("Rainy")
else:
    print("Sunny")

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

Solution (Python):
__author__ = 'Esfandiar'

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

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

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

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


if __name__ == "__main__":
    resolve()

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

Solution (Python):
today_weather = input()
tomorrow_weather = 0
if today_weather == 'Sunny':
    tomorrow_weather = 'Cloudy'
elif today_weather == 'Cloudy':
    tomorrow_weather = 'Rainy'
elif today_weather == 'Rainy':
    tomorrow_weather = 'Sunny'
print(tomorrow_weather)

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

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

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

Solution (Python):
S = input()

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

print('{}'.format(ans))

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

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

S = input()

print(w[w.index(S) - 1]);

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):
import numpy as np

s_array = np.array(["Sunny", "Cloudy", "Rainy"])
r_array = np.array(["Cloudy", "Rainy", "Sunny"])

S = input()

print(r_array[s_array == S][0])

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

Solution (Python):
S = input()

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

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

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

Solution (Python):
w=input()
a=("Sunny","Cloudy","Rainy")
b=a.index(w)
if b == 2:
    ans=0
else:
    ans=b+1
c=a[ans]
print(c)

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

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

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

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

Solution (Python):
from sys import stdin
n = stdin.readline().rstrip()
if n== "Sunny":
  print("Cloudy")
elif n== "Cloudy":
  print("Rainy")
else:
  print("Sunny")

Solution (Python):
str = input()

if str == "Sunny":
	print("Cloudy")
elif str == "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):


import sys

debug = False

def log(text):
    if debug:
        print(text)

def parse_input(lines_as_string = None):

    global debug
    lines = []
    if lines_as_string is None:
        debug = False
        
        
        lines.append(input())
    else:
        debug = True
        lines = [e for e in lines_as_string.split("\n")][1:-1]

    s = lines[0]

    return (s,)


def solve(s):

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



    return w[s]


def main():
    
    result = solve(*parse_input())
    if isinstance(result, list):
        for r in result:
            print("%s" % r, sep='')
    else:
        print("%s" % result, sep='')

if __name__ == '__main__':

    main()

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

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

Solution (Python):



from sys import stdin
import math


today_weather = stdin.readline().rstrip()

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

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

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

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

Solution (Python):
def prediction():
    weather = input()
    weathers = ['Sunny', 'Cloudy', 'Rainy']
    counter = 0
    for i in weathers:
        if i == 'Rainy':
            return 'Sunny'
        elif i == weather:
            return weathers[counter + 1]
        counter += 1

if __name__ == "__main__":
    print(prediction())

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

if s == "Sunny":
    ans = "Cloudy"
elif s == "Cloudy":
    ans = "Rainy"
else:
    ans = "Sunny"

print(ans)

Solution (Python):
Today_weather = input()

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

Solution (Python):
def main():
    s = input()
    weathers = ['Sunny', 'Cloudy', 'Rainy']
    length = weathers.__len__()
    index = weathers.index(s) + 1

    if index >= length:
        index = 0

    print(weathers[index])


if __name__ == "__main__":
    main()

Solution (Python):
str = input()

if str == "Sunny":
    print("Cloudy",end="\n")
if str == "Cloudy":
    print("Rainy",end="\n")
if str == "Rainy":
    print("Sunny",end="\n")

Solution (Python):
import sys

input = sys.stdin.readline


def solve(S):
    if S == 'Sunny':
        return 'Cloudy'
    elif S == 'Cloudy':
        return 'Rainy'
    else:
        return 'Sunny'


if __name__ == '__main__':
    S = input()

    answer = solve(S.strip())
    print(answer)

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

Solution (Python):
import sys
def input():
    return sys.stdin.readline()[:-1]

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):
today_weather=input()
if today_weather=="Sunny":
    print("Cloudy")

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

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

Solution (Python):
S = input()

print(["Sunny", "Cloudy", "Rainy"][("SCR".find(S[0])+1)%3])

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

Solution (Python):
if __name__ == '__main__':
    weathers = [
        'Sunny',
        'Cloudy',
        'Rainy'
    ]

    s = str(input())

    index = 0
    next_index = 0

    for w in weathers:
        if w == s:
            next_index = (index + 1) % 3
            break
        else:
            index += 1

    print(weathers[next_index])

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

if k<2:
  k=k+1
  print(l[k])
elif k==2:
  k=0
  print(l[k])

Solution (Python):
str = input().strip()

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

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

Solution (Python):
import sys
import collections
import bisect
input = sys.stdin.readline
sys.setrecursionlimit(10 ** 6)
import math
S = raw_input()
d = {'Sunny': 'Cloudy', 'Cloudy': 'Rainy', 'Rainy': 'Sunny'}
print(d[S])

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

Solution (Python):
S=input()
wether=["Sunny","Cloudy","Rainy"]
n=wether.index(S)
try:
    print(wether[n+1])
except:
    print(wether[0])

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

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

S = input()
if whether_list.index(S) == 2:
    print(whether_list[0])
else:
    print(whether_list[whether_list.index(S) + 1])

Solution (Python):

s = input()

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

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

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

print(weatherlist[tomorrownum])

Solution (Python):

S = input()

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

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

Solution (Python):
S = input()

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

Solution (Python):
wheather = input().split()

if wheather[-1] == "Rainy":
    print("Sunny")
elif wheather[-1] == "Sunny":
    print("Cloudy")
elif wheather[-1] == "Cloudy":
    print("Rainy")

Solution (Python):
import sys
S = input()
a = "Sunny"
b = 'Cloudy'
c = 'Rainy'
if S == a:
    print(b)
elif S == b:
        print(c)
elif S == c:
        print(a)
else:
    sys.exit()
sys.exit()

Solution (Python):
a = input()

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

print(w[a])

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

Solution (Python):
today = input()

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

Solution (Python):
import sys


		
def main():
	a= ['Sunny', 'Cloudy', 'Rainy']
	a=a+a
	today = input()
	for i,w in enumerate(a):
		if w==today:
			print(a[i+1])
			return
		
	
	

isTest=False

def pa(v):
	if isTest:
		print(v)

if __name__ == "__main__":
	if sys.platform =='ios':
		sys.stdin=open('inputFile.txt')
		isTest=True
	else:
		pass
		
			
	ret = main()
	if ret is not None:
		print(ret)

Solution (Python):
s = str(raw_input())
w = ['Sunny', 'Cloudy', 'Rainy']
i = w.index(s)
if i < 2:
    print(w[i+1])
else:
    print(w[0])

Solution (Python):


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

if S == "Sunny":
    x = 1
elif S == "Cloudy":
    x = 2
elif S == "Rainy":
    x = 0

print(weather_list[x])

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

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

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

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

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

n = T.index(S) + 1
if n >= 3:
    n = n - 3
print(T[n])

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

Solution (Python):
def main():
  w=input()
  if(w=='Sunny'):
    print('Cloudy')
  elif(w=='Cloudy'):
    print('Rainy')
  elif(w=='Rainy'):
    print('Sunny')
    
main()

Solution (Python):

import sys
sys.setrecursionlimit(10**6)
write = sys.stdout.write
dbg = lambda *something : print(*something) if DEBUG else 0
DEBUG = False
def main(given = sys.stdin.readline):
    input = lambda : given().rstrip()
    LMIIS = lambda : list(map(int,input().split()))
    II = lambda : int(input())
    XLMIIS = lambda x : [LMIIS() for _ in range(x)]


    next = {'Sunny':'Cloudy',
            'Cloudy':'Rainy',
            'Rainy':'Sunny'}
    print(next[input()])

if __name__ == '__main__':
    main()

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

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

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

Solution (Python):
S = input()

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

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

print(a)

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):
weather = ["Sunny", "Cloudy", "Rainy"]
S = str(input())

if weather.index(S) == len(weather) - 1:
    print(weather[0])
else:
    print(weather[weather.index(S) + 1])

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

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

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

Solution (Python):
a = 'Sunny'
b = 'Cloudy'
c = 'Rainy'

S = input()

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

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

Solution (Python):
today=input()

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

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

S=input()

def func1(lst, value):
    return [i for i, x in enumerate(lst) if x == value]
  
idx=func1(a,S)[0]

if idx==2:
  ans=0
else:
  ans=idx+1

print(a[ans])

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

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

Solution (Python):

import sys




import numpy as np


"""Template"""


class IP:
    """
    入力を取得するクラス
    """

    def __init__(self):
        self.input = sys.stdin.readline

    def I(self):
        """
        1文字の取得に使います
        :return: int
        """
        return int(self.input())

    def S(self):
        """
        1文字の取得(str
        :return: str
        """
        return self.input()

    def IL(self):
        """
        1行を空白で区切りリストにします(int
        :return: リスト
        """
        return list(map(int, self.input().split()))

    def SL(self):
        """
        1行の文字列を空白区切りでリストにします
        :return: リスト
        """
        return list(map(str, self.input().split()))

    def ILS(self, n):
        """
        1列丸々取得します(int
        :param n: 行数
        :return: リスト
        """
        return [int(self.input()) for _ in range(n)]

    def SLS(self, n):
        """
        1列丸々取得します（str
        :param n: 行数
        :return: リスト
        """
        return [self.input() for _ in range(n)]

    def SILS(self, n):
        """
        Some Int LineS
        横に複数、縦にも複数
        :param n: 行数
        :return: list
        """
        return [self.IL() for _ in range(n)]

    def SSLS(self, n):
        """
        Some String LineS
        :param n: 行数
        :return: list
        """
        return [self.SL() for _ in range(n)]


class Idea:
    def __init__(self):
        pass

    def HF(self, p):
        """
        Half enumeration
        半分全列挙です
        pの要素の和の組み合わせを作ります。
        ソート、重複削除行います
        :param p: list : 元となるリスト
        :return: list : 組み合わせられた和のリスト
        """
        return sorted(set(p[i] + p[j] for i in range(len(p)) for j in range(i, len(p))))

    def Bfs2(self, a):
        """
        bit_full_search2
        bit全探索の改良版
        全探索させたら2進数のリストと10進数のリストを返す
        :return: list２つ : １個目 2進数(16桁)  2個目 10進数
        """
        
        
        
        value = []
        for i in range(1 << len(a)):
            output = []

            for j in range(len(a)):
                if self.bit_o(i, j):
                    """右からj+1番目のiが1かどうか判定"""
                    
                    output.append(a[j])
            value.append([format(i, 'b').zfill(16), sum(output)])

        value.sort(key=lambda x: x[1])
        bin = [value[k][0] for k in range(len(value))]
        val = [value[k][1] for k in range(len(value))]
        return bin, val

    def S(self, s, r=0, m=-1):
        """
        ソート関係行います。色々な設定あります。
        :param s: 元となるリスト
        :param r: reversするかどうか 0=False 1=True
        :param m: （2次元配列）何番目のインデックスのソートなのか
        :return: None
        """
        r = bool(r)
        if m == -1:
            s.sort(reverse=r)
        else:
            s.sort(reverse=r, key=lambda x: x[m])

    def bit_n(self, a, b):
        """
        bit探索で使います。0以上のときにTrue出します
        自然数だからn
        :param a: int
        :param b: int
        :return: bool
        """
        return bool((a >> b & 1) > 0)

    def bit_o(self, a, b):
        """
        bit探索で使います。1のときにTrue出すよ
        oneで1
        :param a: int
        :param b: int
        :return: bool
        """
        return bool(((a >> b) & 1) == 1)

    def ceil(self, x, y):
        """
        Round up
        小数点切り上げ割り算
        :param x: int
        :param y: int
        :return: int
        """
        return -(-x // y)

    def ave(self, a):
        """
        平均を求めます
        :param a: list
        :return: int
        """
        return sum(a) / len(a)

    def gcd(self, x, y):
        if y == 0:
            return x
        else:
            return self.gcd(y, x % y)

    def lcm(self, x, y):
        return (x * y) // self.gcd(x, y)


"""ここからメインコード"""


def main():
    
    r, e = range, enumerate
    ip = IP()
    id = Idea()

    """この下から書いてね"""
    
    
    
    
    
    s = input()
    if s == "Sunny":
        print("Cloudy")
    elif s == "Cloudy":
        print("Rainy")
    else:
        print("Sunny")

main()

Solution (Python):
x = input()
if 'Sunny' == x:
    print('Cloudy')
elif 'Cloudy' == x:
    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():
    S = input().strip()
    weathers = ['Sunny', 'Cloudy', 'Rainy']
    t = weathers.index(S)
    print(weathers[(t + 1) % 3])

if __name__ == "__main__":
    main()

Solution (Python):






SUNNY, CLOUDY, RAINY = 'Sunny', 'Cloudy', 'Rainy' 





weather = input()





if weather == SUNNY:
    print(CLOUDY)
elif weather == CLOUDY:
    print(RAINY)
elif weather == RAINY:
    print(SUNNY)

Solution (Python):
rr = raw_input
rri = lambda: int(raw_input())
rrm = lambda: map(int, raw_input().split())

A, B, C = 'Sunny', 'Cloudy', 'Rainy'
def solve(S):
    if S == A: return B
    if S == B: return C
    return A
    

print solve(rr())

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

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

ans = 0
for i in range(3):
    if w == dct[i]:
        ans = i + 1
        
if ans == 3:
    ans = 0
    
print(dct[ans])

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

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


weather = str(input())


def predict_wether(weather):
    for k,s in enumerate(array):
        if weather == s:
            output = array[k+1]
            break

    return output


print(predict_wether(weather))

Solution (Python):
import sys
stdin = sys.stdin
sys.setrecursionlimit(10**9)
 
ni = lambda: int(ns())
na = lambda: list(map(int, stdin.readline().split()))
nn = lambda: list(stdin.readline().split())
ns = lambda: stdin.readline().rstrip()

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

Solution (Python):


S = input()

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

idx = pattern.index(S)
print(pattern[idx+1] if idx != len(pattern) - 1 else pattern[0])

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

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

Solution (Python):
weather = input()

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

Solution (Python):


def acinput():
    return list(map(int, input().split(" ")))


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

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

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

Solution (Python):
weather = ['Sunny', 'Cloudy', 'Rainy']
nw = input()
idx_nw = weather.index(nw)
print(weather[(idx_nw+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 == 'Sunny':
    print('Cloudy')
elif S == 'Cloudy':
    print('Rainy')

Solution (Python):
S = input()
weather_l = ['Sunny', 'Cloudy', 'Rainy']
for i, weather in enumerate(weather_l):
    next_i = 0
    if S == weather:
        if i == 2:
            next_i = 0
        else:
            next_i = i + 1
        print(weather_l[next_i])

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

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

ans=""
if s=='Sunny':  ans="Cloudy"
if s=='Cloudy': ans="Rainy"
if s=='Rainy':  ans="Sunny"

print(ans)

Solution (Python):
A = input()
s = 'Sunny'
c = 'Cloudy'
r = 'Rainy'

if A == s:
    print('Cloudy')

elif A == c:
    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):
str = input()
if str == "Sunny":
    print("Cloudy")
elif str == "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):
W = ['Sunny', 'Cloudy', 'Rainy']
print(W[(W.index(input())+1)%3])

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

Solution (Python):
S = input()

s = "Sunny"
c = "Cloudy"
r = "Rainy"

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

Solution (Python):
S = input()
X = ["Sunny", "Cloudy", "Rainy"]
print(X[(X.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):
s1 = input()

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

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

Solution (Python):
tenki = input()
tenki_list = ["Sunny", "Cloudy", "Rainy"]

for i, weather in enumerate(tenki_list):
    if tenki == weather:
        if i == 2:
            print(tenki_list[0])
        else:
            print(tenki_list[i + 1])

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

Solution (Python):
s = input()

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

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

if next >= len(weather):
  print(weather[0])
else:
  print(weather[next])

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

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

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

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