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):
"""
    こんにちは。これはクシャルです
    
    Author : thekushalghosh (クシャル)
    Team   : CodeDiggers
 
    I prefer Python language over the C++ language :p :D
        
    Visit my website : thekushalghosh.github.io
"""
import sys,math,cmath,time
start_time = time.time()



def solve():
    s = insr()
    if s == "Sunny":
        q = "Cloudy"
    elif s == "Cloudy":
        q = "Rainy"
    else:
        q = "Sunny"
    print(q)
    


 
def main():
    global tt
    if not ONLINE_JUDGE:
        sys.stdin = open("input.txt","r")
        sys.stdout = open("output.txt","w")
    t = 1
    for tt in range(t):
        solve()
    if not ONLINE_JUDGE:
        print("Time Elapsed :",time.time() - start_time,"seconds")
        sys.stdout.close()
    

def inp():
    return(int(input()))
def inlt():
    return(list(map(int,input().split())))
def insr():
    return(input().strip())
def invr():
    return(map(int,input().split()))
 

def counter(a):
    q = [0] * max(a)
    for i in range(len(a)):
        q[a[i] - 1] = q[a[i] - 1],1
    return(q)
 
def string_counter(a):
    q = [0] * 26
    for i in range(len(a)):
        q[ord(a[i]) - 97] = q[ord(a[i]) - 97],1
    return(q)

def factors(n):
    q = []
    for i in range(1,int(n ** 0.5) + 1):
        if n % i == 0: q.append(i); q.append(n // i)
    return(list(sorted(list(set(q)))))

def prime_factors(n):
    q = []
    while n % 2 == 0: q.append(2); n = n // 2
    for i in range(3,int(n ** 0.5) + 1,2):
        while n % i == 0: q.append(i); n = n // i
    if n > 2: q.append(n)
    return(list(sorted(q)))


        
ONLINE_JUDGE = __debug__
if ONLINE_JUDGE:
    input = sys.stdin.readline
    
    
    
main()

Solution (Python):
import sys




def main():
    S = input()
    we = ["Sunny","Cloudy","Rainy"]
    if S ==we[0]:
        print(we[1])
    elif S ==we[1]:
        print(we[2])
    else:
        print(we[0])



if __name__ == "__main__":
    main()

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

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

Solution (Python):
s=input()

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

num=(wether.index(s)+1)%3

print(wether[num])

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

weather_list = ['Sunny', 'Cloudy', 'Rainy', 'Sunny']
print(weather_list[weather_list.index(S) + 1])

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

Solution (Python):

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

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

Solution (Python):
S = input()

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

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

Solution (Python):
print('CRSlauoinunndyyy'[id(id)%3::3])

Solution (Python):
print('CRSlauoinunndyyy'[ord(input()[0])%7%3::3])

Solution (Python):
print('CRSlauoinunndyyy'[ord(input()[0])%7%3::3])

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

Solution (Python):


s = str(input())

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

print(dic[s])

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

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

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

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

S = input()

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

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

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

if __name__ == '__main__':
    main()

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

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

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

Solution (Python):
import sys

read = sys.stdin.read
readline = sys.stdin.readline
readlines = sys.stdin.readlines
sys.setrecursionlimit(10 ** 9)
INF = 1 << 60
MOD = 1000000007


def main():
    S = readline().strip()
    A = ['Sunny', 'Cloudy', 'Rainy']

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


if __name__ == '__main__':
    main()

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

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

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

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

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

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

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

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

Solution (Python):
clima= input()
if clima=='Sunny':
    print('Cloudy')
elif clima=='Cloudy':
    print('Rainy')
elif clima== '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")
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()
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():
    s = str(input())
    l = ['Sunny', 'Cloudy', 'Rainy']
    if s == 'Rainy':
        print(l[0])
    else:
        print(l[l.index(s) + 1])
main()

Solution (Python):
a = input()

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

Solution (Python):
tod=input()
list=["Sunny", "Cloudy", "Rainy"]
count=0
for i in list:
  if count==2:
      print(list[0])
      break
  if list[count]==tod:
    print(list[count+1])
    break
  count+=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):

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

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"}

a = input()

print(d[a])

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

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

Solution (Python):


prompt = input()
l = ["Sunny", "Cloudy", "Rainy"]

for i in range(3):
    if prompt == l[i]:
        try:
            print(l[i+1])
        except:
            print(l[(i+1)-len(l)])

Solution (Python):
li = ["Sunny", "Cloudy", "Rainy"]
we = li.index(input())
print(li[we + 1] if we != 2 else "Sunny")

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

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

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

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

Solution (Python):
S=input()

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

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

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

Solution (Python):
w = ["Sunny","Cloudy","Rainy","Sunny"]
s = input()
pos = w.index(s)
print(w[pos+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()
L = ['Sunny', 'Cloudy', 'Rainy', 'Sunny']
k = L.index(S)
print(L[k+1])

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

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

if __name__ == '__main__':
    solve()

Solution (Python):
S=input()

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

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

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

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

Solution (Python):
li = ['Sunny', 'Cloudy', 'Rainy']
s = input()
print(li[(li.index(s)+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=='Rainy':
	print('Sunny')
else:
	print('Rainy')

Solution (Python):
S=input()
L=["Sunny","Cloudy","Rainy"]
print(L[(L.index(S)+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):
n=input()
m={'Sunny':'Cloudy','Cloudy':'Rainy','Rainy':'Sunny'}
print(m[n])

Solution (Python):
s = input()

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

print(ans[s])

Solution (Python):
s = ["Sunny", "Cloudy", "Rainy"]
a = input()
print(s[(s.index(a) + 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()
ans=["Sunny","Cloudy","Rainy","Sunny"]
for i in range(3):
  if ans[i]==s:
    print(ans[i+1])

Solution (Python):



import sys
from collections import defaultdict, deque
from heapq import heappush, heappop
import math
import bisect
input = sys.stdin.readline





s = input()[:-1]

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

Solution (Python):
a = input()
weather_today = {'Sunny':0 , 'Cloudy':1 , 'Rainy':2}
weather_next  = ['Cloudy', 'Rainy','Sunny']
print(weather_next[weather_today[a]])

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

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

if S == W[0] or S == W[1]:
    print(W[W.index(S)+1])
else:
    print(W[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):
X = input()
li = ['Sunny', 'Cloudy', 'Rainy', 'Sunny']
print(li[li.index(X)+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):
wet = ["Sunny","Cloudy","Rainy"]
s = wet.index(input())
print(wet[s+1] if s != 2 else wet[0])

Solution (Python):
s = input()

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

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

for i in weather:
    if i == 'Rainy':
        print('Sunny')
        exit()
    elif i == S:
        a=weather.index(i)
        print(weather[a+1])
        exit()

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])
elif s == w[2]:
  print(w[0])

Solution (Python):
s=input()
if s[0]=='S':
  print('Cloudy')
elif s[0]=='C':
  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()

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

print(list[(list.index(s) + 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()
list = ["Sunny", "Cloudy", "Rainy"]
print(list[list.index(S)-2])

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

Solution (Python):
dict = {0: 'Sunny', 1: 'Cloudy', 2: 'Rainy'}
S = input()
for i, k in enumerate(dict.items()):
    if k[1] == S:
        print(dict[(k[0] + 1) % 3])
        exit()

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

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

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

Solution (Python):
def main():
    S = input()
    weather = ['Sunny', 'Cloudy', 'Rainy']
    idx = 0
    for i,s in enumerate(weather):
        if s == S:
            idx = i+1
    print(weather[idx]) if idx != 3 else print(weather[0])

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

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

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

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

S = input()

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

Solution (Python):
S = input()

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

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

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

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

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

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

Solution (Python):
s = input()

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

result = list.index(s)%3

print(list[result+1])

Solution (Python):
S=input()

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

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

Solution (Python):
import sys

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


def solve():
    S = input()
    sl = ['Sunny', 'Cloudy', 'Rainy']

    if S == 'Sunny':
        i = 1
    elif S == 'Cloudy':
        i = 2
    elif S == 'Rainy':
        i = 0

    print(sl[i])


if __name__ == '__main__':
    solve()

Solution (Python):
s = input()

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

print(next_weather[s])

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

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

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

Solution (Python):
import sys
import decimal 

def input():
    return sys.stdin.readline().strip()

def main():
    s = input()
    if s[0] == "S":
        print("Cloudy")
        return
    elif s[0] == "C":
        print("Rainy")
        return
    print("Sunny")
    

    
    
main()

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

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

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

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

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

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

Solution (Python):
S = input()

forecast = {"Sunny": "Cloudy", "Cloudy": "Rainy", "Rainy": "Sunny"}
print(forecast[S])

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


if __name__ == '__main__':
    main()

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

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()
print(weather[(weather.index(S)+1)%3])

Solution (Python):

s = input()
a, b, c = 'Sunny', 'Cloudy', 'Rainy'
if s == a:
    print(b)
elif s == b:
    print(c)
else:
    print(a)

Solution (Python):
def main():
  s=input()
  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):
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):
from sys import stdin, setrecursionlimit

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


def main():
    input = stdin.buffer.readline
    s = input()[:-1].decode()
    print(WEATHERS[(WEATHERS.index(s) + 1) % 3])


if __name__ == "__main__":
    setrecursionlimit(10000)
    main()

Solution (Python):

def f(s):
	es = ['Sunny', 'Cloudy', 'Rainy']
	h = {e:i for i,e in enumerate(es)}
	return es[(h[s] + 1)%3]

print f(raw_input())

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

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

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

Solution (Python):
import sys
from collections import Counter
from collections import deque
import math
import fractions
def input(): return sys.stdin.readline().strip()
def mp(): return map(int,input().split())
def lmp(): return list(map(int,input().split()))

s=input()
ans=["Sunny","Cloudy","Rainy","Sunny"]
print(ans[ans.index(s)+1])

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

  return

if __name__ == "__main__":
  resolve()

Solution (Python):
S = input()

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

Solution (Python):
s = input()

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

Solution (Python):
import sys

sys.setrecursionlimit(10 ** 7)
input = sys.stdin.readline
f_inf = float('inf')
mod = 10 ** 9 + 7


def resolve():
    s = input().rstrip()
    print("Cloudy" if s == "Sunny" else "Sunny" if s == "Rainy" else "Rainy")


if __name__ == '__main__':
    resolve()

Solution (Python):
lis = ['Sunny', 'Cloudy', 'Rainy']
S = input()
idx = lis.index(S)
if idx==2:
    print(lis[0])
else:
    print(lis[idx+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()
li = ['Sunny', 'Cloudy', 'Rainy']
for i in range(3):
    if s==li[i]:
        print(li[(i+1)%3])

Solution (Python):
s = input()

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

print(ans)

Solution (Python):
S = input()

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

Solution (Python):
import sys
def input(): return sys.stdin.readline().strip()

def resolve():
    s=input()
    a='Sunny'
    b='Cloudy'
    c='Rainy'
    if s==a:
        print(b)
    elif s==b:
        print(c)
    else:
        print(a)
resolve()

Solution (Python):
from sys import stdin
def main():
    
    readline=stdin.readline
    s=readline().strip()
    
    if s=="Sunny":
        print("Cloudy")
    elif s=="Cloudy":
        print("Rainy")
    else:
        print("Sunny")
        
if __name__=="__main__":
    main()

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


S = input()

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

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

Solution (Python):
s = input()

l = ['Sunny', 'Cloudy', 'Rainy']
l_next = l[1:]+l[:1]

d = {}
for k,v in zip(l,l_next):
    d[k] = v

print(d[s])

Solution (Python):
from collections import defaultdict, deque
import sys


def LI(): return list(map(int, sys.stdin.buffer.readline().split()))
def I(): return int(sys.stdin.buffer.readline())
def LS(): return sys.stdin.buffer.readline().rstrip().decode('utf-8').split()
def S(): return sys.stdin.buffer.readline().rstrip().decode('utf-8')
def IR(n): return [I() for i in range(n)]
def LIR(n): return [LI() for i in range(n)]
def SR(n): return [S() for i in range(n)]
def LSR(n): return [LS() for i in range(n)]
def SRL(n): return [list(S()) for i in range(n)]
def MSRL(n): return [[int(j) for j in list(S())] for i in range(n)]


s = S()
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()
W =["Sunny", "Cloudy", "Rainy"]
for i,w in enumerate(W):
    if w==S:
        print(W[(i+1)%3])
        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):
s = input()
if s == 'Sunny':
    print('Cloudy')
elif s == 'Cloudy':
    print('Rainy')
else:
    print('Sunny')

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

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

Solution (Python):
import sys, math
input = sys.stdin.readline
rs = lambda: input().strip()
ri = lambda: int(input())
rl = lambda: list(map(int, input().split()))
mod = 10**9 + 7

S = rs()

t2i = {'Sunny':0, 'Cloudy':1, 'Rainy':2}
i2t = ['Sunny', 'Cloudy', 'Rainy']

i = (t2i[S]+1)%3
print(i2t[i])

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

Solution (Python):

import sys

read = sys.stdin.buffer.read
readline = sys.stdin.buffer.readline
readlines = sys.stdin.buffer.readlines


def main():
    S = readline().rstrip().decode()
    if S == 'Sunny':
        print('Cloudy')
    elif S == 'Cloudy':
        print('Rainy')
    elif S == 'Rainy':
        print('Sunny')


if __name__ == '__main__':
    main()

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

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

print(weather[input().rstrip()])

Solution (Python):
import sys

def solve():
    input = sys.stdin.readline
    S = input().strip("\n")
    if S[0] == "S": print("Cloudy")
    elif S[0] == "C":print("Rainy")
    else: print("Sunny")
    return 0

if __name__ == "__main__":
    solve()

Solution (Python):
weather = ['Sunny', 'Cloudy', 'Rainy', 'Sunny']
S = input()
for i in range(3):
    if weather[i] == S:
        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 == 'Sunny':
  print('Cloudy')
elif S == 'Cloudy':
  print('Rainy')
else:
  print('Sunny')

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

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

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

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

S = input()[:-1]

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