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):
import sys, re
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,copy
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 LIST(): return list(map(int, input().split()))
sys.setrecursionlimit(10 ** 9)
INF = float('inf')
mod = 10 ** 9 + 7

def main():
	lis = ["Sunny", "Cloudy", "Rainy"]
	s = input()
	print(lis[lis.index(s) - 2])


if __name__=='__main__':
	main()

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

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):
wethers = ["Sunny", "Cloudy", "Rainy"]
S = input()
i = wethers.index(S)
print(wethers[i + 1] if i <= 1 else "Sunny")

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

Solution (Python):

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

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

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

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

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

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

print(dic[input()])

Solution (Python):
import sys
input = sys.stdin.readline

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

def main():
    S = input().strip()

    i = L.index(S)

    print(L[(i + 1) % 3])


if __name__ == "__main__":
    main()

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

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

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

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

Solution (Python):


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


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

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()
lists = ["Sunny","Cloudy","Rainy","Sunny"]
w = lists.index(s) + 1
print(lists[w])

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")
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()
w = ["Sunny", "Cloudy", "Rainy"]

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

Solution (Python):
a = str(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')

Solution (Python):
def main():
    ans=["Sunny","Cloudy","Rainy"]
    print(ans[(ans.index(input())+1)%3])
if __name__ == '__main__':
    main()

Solution (Python):
S=input()

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

Solution (Python):

import sys
stdin = sys.stdin

def ns(): return stdin.readline().rstrip()
def ni(): return int(ns())
def na(): return list(map(int, stdin.readline().split()))

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

if __name__ == "__main__":
    main()

Solution (Python):
S=input()
mylist=["Sunny", "Cloudy", "Rainy"]
number=0

for i in range(3):
    if S==mylist[i]:
        number=i
    else:
        pass

if number==2:
    print(mylist[0])
else:
    print(mylist[number+1])

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

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

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

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

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

Solution (Python):
import sys
from bisect import *
from heapq import *
from collections import *
from itertools import *
from functools import *

sys.setrecursionlimit(100000000)
input = lambda: sys.stdin.readline().rstrip()

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

Solution (Python):
S = input()

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

for i in range(3):
    if S==weather[i]:
        ind = i
        break

if ind==0 or ind==1:
    print(weather[ind+1])
else:
    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 == "Cloudy"):
    print("Rainy")
else:
    print("Sunny")

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

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

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

    return d[S]

print(solve())

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

Solution (Python):





import numpy as np



s = input()

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

idx = (lis.index(s) +1) % 3
ans = lis[idx]

print(ans)

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

Solution (Python):


S= input()


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

Solution (Python):
S = input()

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

print(rotate[(rotate.index(S) + 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","Sunny"]

S=input()

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

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):
weather = ['Sunny', 'Cloudy', 'Rainy']
s = input()
for i,v in enumerate(weather):
    if v == s:
        print(weather[(i + 1) % 3])

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

Solution (Python):
a = input()
l = ['Sunny', 'Cloudy', 'Rainy']

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

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

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"}
if S in dic:
  val=dic[S]
  print(val)

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

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

Solution (Python):
w = input()

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

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

S = input()

pos = (weathers.index(S) + 1) % 3
print(weathers[pos])

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

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

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

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

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

Solution (Python):
S = input()

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

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

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

print(weather.get(s))

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

Solution (Python):
sl = ["Sunny","Cloudy","Rainy"]
S = input()
ans = 0
for i in range(len(sl)):
    if (S == sl[i]):
        ans = (i+1) % 3

print(sl[ans])

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

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

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

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

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

Solution (Python):

w=['Sunny','Cloudy','Rainy']
s=input()

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

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

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

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

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

Solution (Python):

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

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

if list.index(S) == 2:
    print("Sunny")
else:
    print(list[list.index(S)+1])

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

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

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

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

if l.index(w) == 2:
    print("Sunny")

else:
    print(l[l.index(w) + 1])

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

a = weather.index(s)
if a == 2:
    print("Sunny")
else:
    print(weather[a+1])

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

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

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

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

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

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

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

Solution (Python):
from sys import stdin

w = {"Sunny": "Cloudy", "Cloudy": "Rainy", "Rainy": "Sunny"}
s = stdin.readline().rstrip()
print(w[s])

Solution (Python):
def resolve():
    S = input()

    if S == "Sunny":
        answer = "Cloudy"
    elif S == "Cloudy":
        answer = "Rainy"
    elif S == "Rainy":
        answer = "Sunny"

    print(answer)

if __name__ == "__main__":
    resolve()

Solution (Python):
s = input()
llist = {'Sunny':'Cloudy','Cloudy':'Rainy','Rainy':'Sunny'}

print(llist[s])

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

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

ans = lis[lis.index(S) + 1]
print(ans)

Solution (Python):
lst = ["Sunny","Cloudy","Rainy"]
print(lst[(lst.index(input())+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=="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):
import sys







def main():
    S = input()

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

    idx = weathers.index(S)

    print(weathers[idx+1])


if __name__ == '__main__':
    main()

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

i = tenki.index(s)
i = (i+1)%3

print(tenki[i])

Solution (Python):
s = str(input())
i = 0
list = ["Sunny", "Cloudy", "Rainy", "Sunny"]
for item in list:
    if (s == item and i < 3):
        print(list[i + 1])

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





import sys

input = sys.stdin.readline
MOD = 10 ** 9 + 7
INF = float('INF')
sys.setrecursionlimit(10 ** 5)


def main():
    s = input().rstrip('\n')
    w = {'Sunny': 'Cloudy', 'Cloudy': 'Rainy', 'Rainy': 'Sunny'}
    print(w[s])

if __name__ == '__main__':
    main()

Solution (Python):
num = input()

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

counter = num_list.index(num)


print(num_list[counter + 1])

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']
for i,tmp in enumerate(weather):
    if s == tmp:
        print(weather[i-2])

Solution (Python):
s =input()

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

print(weather[s])

Solution (Python):
s = input()

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

Solution (Python):
s = input()

tenki = ["Sunny", "Cloudy", "Rainy"]
for i, a in enumerate(tenki):
    if a == s:
        i = (i+1)%3
        print(tenki[i])

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

for i in range(3):
    if W[i]==S:
        print(W[i-1])

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

Solution (Python):
S=input()
wed=["Sunny","Cloudy","Rainy"]
ad=wed.index(S)
if (ad<=1):
  print(wed[ad+1])
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('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")
else:
    print("Sunny")

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

w = {s:c,c:r,r:s}

print(w[input()])

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

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

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

Solution (Python):
s = input()

weathers = ["Sunny", "Cloudy", "Rainy"]
idx = weathers.index(s)
idx = (idx+1)%3
print(weathers[idx])

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

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

elif i == "Rainy" :
  print("Sunny")

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

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

Solution (Python):
s = input()

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

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

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

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

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

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

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

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

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

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):
s = input()
wet = ['Sunny', 'Cloudy', 'Rainy', 'Sunny']
for i in range(3):
    if s == wet[i]:
        print(wet[i+1])
        exit()

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[0]=="S":
    print("Cloudy")
elif s[0]=="C":
    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 = 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):



def main():
    weathers = ['Sunny', 'Cloudy', 'Rainy']
    today = input()

    tomorrow = (weathers.index(today) + 1) % len(weathers)
    print(weathers[tomorrow])

    return 0


if __name__ == '__main__':
    main()

Solution (Python):




def main():
    weather = input()
    
    if weather == 'Sunny':
        print('Cloudy')
        
    elif weather == 'Cloudy':
        print('Rainy')
        
    elif weather == 'Rainy':
        print('Sunny')
    
    return 0


if __name__ == '__main__':
    main()

Solution (Python):


 
def main():
 
    weather = {'Sunny':'Cloudy', 'Cloudy':'Rainy', 'Rainy':'Sunny'}
    in_weather = input()
    
    print(weather[in_weather])
    
    return 0
 
 
if __name__ == '__main__':
    main()

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'}
print(d[input()])

Solution (Python):



def main():
  s = input().strip()
  print({'Sunny':'Cloudy', 'Cloudy':'Rainy', 'Rainy':'Sunny'}[s])

if __name__=='__main__':
  main()

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

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

Solution (Python):
s = input()
a = ['Sunny','Cloudy','Rainy']
print(a[(a.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());a=["Sunny","Cloudy","Rainy"];ans=a.index(s)
if ans==2:
    print(a[0])
else:
    print(a[ans+1])

Solution (Python):
S = input()

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

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

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

Solution (Python):

from itertools import cycle
def main():
   s = input() 
   if s == 'Sunny':
        print('Cloudy')
   elif s == 'Cloudy':
        print('Rainy')
   else:
        print('Sunny')

main()

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

Solution (Python):
s = input()

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

Solution (Python):
S = input()

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

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

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

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

Solution (Python):
st = [ "Sunny" , "Cloudy" , "Rainy" ]
x = input()
s = st.index(x) + 1
if s <= 2 :
    print(st[s])
else :
    print(st[0])

Solution (Python):
S = input()

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

Solution (Python):
s = input()

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

print(a[(a.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):
s = input()
if s == 'Rainy':
	print('Sunny')
if s == 'Sunny':
	print('Cloudy')
if s == 'Cloudy':
	print('Rainy')

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

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

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

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

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

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

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

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

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

Solution (Python):
S = input()

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

print(WM[S])

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

i = l.index(S) +1

print(l[i])

Solution (Python):
import sys

sys.setrecursionlimit(10 ** 6)
int1 = lambda x: int(x) - 1
p2D = lambda x: print(*x, sep="\n")
def IS(): return sys.stdin.readline()[:-1]
def II(): return int(sys.stdin.readline())
def MI(): return map(int, sys.stdin.readline().split())
def LI(): return list(map(int, sys.stdin.readline().split()))
def LI1(): return list(map(int1, sys.stdin.readline().split()))
def LII(rows_number): return [II() for _ in range(rows_number)]
def LLI(rows_number): return [LI() for _ in range(rows_number)]
def LLI1(rows_number): return [LI1() for _ in range(rows_number)]

def main():
	S = IS()
	if(S=='Sunny'):print("Cloudy")
	elif(S=='Cloudy'):print("Rainy")
	else:print("Sunny")

main()

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



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

Solution (Python):
s = input()

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

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

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 = str(input())
dict=['Sunny','Cloudy','Rainy']

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

Solution (Python):
cloud=["Sunny","Cloudy","Rainy"]
S=input()
num=cloud.index(S)
if num==2:
    num=-1
print(cloud[num+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()
if s == "Sunny":
    print("Cloudy")
elif s == "Cloudy":
    print("Rainy")
else:
    print("Sunny")

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


def main():
    w = input()
    print(weather[w])


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()
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("AHOKAOMAEWA!!!")

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

Solution (Python):
import sys

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

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

S = input()

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