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

Solution (Python):
def main():
    import sys
    input = sys.stdin.readline
    sys.setrecursionlimit(10**7)
    from collections import Counter, deque
    
    from itertools import combinations, permutations, accumulate, groupby, product
    from bisect import bisect_left,bisect_right
    from heapq import heapify, heappop, heappush
    from math import floor, ceil
    

    
    

    s = input().rstrip()
    if s=='Sunny':
        print('Cloudy')
    if s=='Cloudy':
        print('Rainy')
    if s=='Rainy':
        print('Sunny')

if __name__ == '__main__':
    main()

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

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

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

else:
    print("Sunny")

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

Solution (Python):
S = input()

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

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

Solution (Python):
import os

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

if __name__ == "__main__":
	main()

Solution (Python):

import sys
import numpy as np


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



def main():
    def iterate_tokens():
        for line in sys.stdin:
            for word in line.split():
                yield word
    tokens = iterate_tokens()
    S = next(tokens)  
    solve(S)

if __name__ == '__main__':
    main()

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

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

Solution (Python):

S = input()
su ="Sunny"
cl ="Cloudy"
ra ="Rainy"

if S ==su:
    print(cl)
elif S == cl:
    print(ra)
elif S == ra:
    print(su)

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

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

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

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

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

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

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

Solution (Python):
import itertools




s = input()
weat = ["Sunny", "Cloudy", "Rainy","Sunny"]
for i in range(3):
    if s == weat[i]:
        break

print(weat[i+1])

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()
match = int(weather.index(S))

print(weather[match+1])

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

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

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

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

if s[0]=="S":
  print("Cloudy")
elif s[0]=="C":
  print("Rainy")
else:
  print("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 accumulate, permutations, combinations, product, groupby
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()))
def ZIP(n): return zip(*(MAP() for _ in range(n)))
sys.setrecursionlimit(10 ** 9)
INF = float('inf')
mod = 10 ** 9 + 7

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

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

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

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

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

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

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

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

Solution (Python):
s=input()

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

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

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

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

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

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

Solution (Python):
def main():
    s = input()
    l = ["Sunny", "Cloudy", "Rainy"]
    idx = l.index(s)
    if idx == 2:
        print("Sunny")
        exit(0)
    print(l[idx+1])

if __name__ == "__main__":
    main()

Solution (Python):
Weather=["Sunny", "Cloudy", "Rainy"]
Today=input()
for i in range(3):
  if Today== Weather[i]:
     if i==0 or i==1:
       print(Weather[i+1])
     else:
       print(Weather[0])

Solution (Python):
Weather=["Sunny", "Cloudy", "Rainy","Sunny"]
Today=input()
for i in range(3):
  if Today== 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 == "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()

d = {'Sunny':1,'Cloudy':2,'Rainy':0}
l = ['Sunny','Cloudy','Rainy']

print(l[d[S]])

Solution (Python):
s = input()

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

Solution (Python):
def weather(s):
    if s == "Sunny": return "Cloudy"
    if s == "Cloudy": return "Rainy"
    if s == "Rainy": return "Sunny"

s = input()
print(weather(s))

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

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

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

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

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

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

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

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

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

for i in range (len(w)):
  if S == w[i]:
    if i < 2:
      print(w[i+1])
      exit()
    else:
      print(w[0])

Solution (Python):
S = input()
i = 0

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

while i < 3:
  if W[i] == S:
    if i < 2:
      print(W[i+1])
    else:
      print(W[0])
  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()
a=['Sunny','Cloudy','Rainy','Sunny']

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

Solution (Python):
l = ['Sunny', 'Cloudy', 'Rainy', 'Sunny']
s = input()
flg = False
for i in l:
  if flg == True:
    print(i)
    exit()
  if s == i:
    flg = True

Solution (Python):
a = input()

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

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

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

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

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

S = input()

tommorow_weather = (weather_type.index(S) + 1) % 3

print(weather_type[tommorow_weather])

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()
List=['Sunny','Cloudy','Rainy','Sunny']
print(List[List.index(S)+1])

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

Solution (Python):
A = ['Sunny', 'Cloudy', 'Rainy', 'Sunny']
S = input()
count = 0
for count in range(len(A)):
  if A[count] == S:
    break
  else:
    count += 1
print(A[count+1])

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

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

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

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

Solution (Python):
s = input()

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

index = weather.index(s)

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

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

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

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

Solution (Python):
import sys
import os

ii = lambda: int(sys.stdin.buffer.readline().rstrip())
il = lambda: list(map(int, sys.stdin.buffer.readline().split()))
fl = lambda: list(map(float, sys.stdin.buffer.readline().split()))
iln = lambda n: [int(sys.stdin.buffer.readline().rstrip()) for _ in range(n)]

iss = lambda: sys.stdin.buffer.readline().decode().rstrip()
sl = lambda: list(map(str, sys.stdin.buffer.readline().decode().split()))
isn = lambda n: [sys.stdin.buffer.readline().decode().rstrip() for _ in range(n)]

MOD = 10 ** 9 + 7


def main():
    if os.getenv("LOCAL"):
        sys.stdin = open("input.txt", "r")

    S = iss()
    key = ['Sunny', 'Cloudy', 'Rainy']
    print(key[(key.index(S) + 1) % 3])


if __name__ == '__main__':
    main()

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

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

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

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

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

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

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

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

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

print(dic[w])

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

Solution (Python):
def q1():
    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])

if __name__ == '__main__':
    q1()

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

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

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

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

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

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

Solution (Python):
sam = input()
lima=['Sunny','Cloudy','Rainy']*2
print(lima[lima.index(sam) + 1])

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

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

S = input()
n = weather_list.index(S)
m = (n + 1) % 3
print(weather_list[m])

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

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

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

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

Solution (Python):
s = input()

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

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

Solution (Python):
S = input()

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

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

Solution (Python):
s=input()

weather=["Sunny","Cloudy","Rainy"]
now=weather.index(s)
nextw=(now+1)%len(weather)
print(weather[nextw])

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

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

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

Solution (Python):

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

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

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

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

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

print(pred)

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

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

Solution (Python):
S = input()

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

for i, weather in enumerate(weathers):
    if S in weather:
        index = i
        break

next = (index + 1) % len(weathers)

answer = weathers[next]

print(answer)

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

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

Solution (Python):
S = input()

w = ""

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

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

ns = lambda: stdin.readline().rstrip()
ni = lambda: int(stdin.readline().rstrip())
nm = lambda: map(int, stdin.readline().split())
nl = lambda: list(map(int, stdin.readline().split()))

w_d={'Sunny':'Cloudy','Cloudy':'Rainy','Rainy':'Sunny'}
S=ns()

print(w_d[S])

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

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

INF = float('inf')

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


def main():
    S = input().rstrip()
    index = weather.index(S)
    print(weather[index + 1])


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):
WEARHER_PERIOD = ['Sunny', 'Cloudy','Rainy']
s = input()

num = WEARHER_PERIOD.index(s)
if num == 2:
    num = 0
else:
    num += 1

print(WEARHER_PERIOD[num])

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

Solution (Python):
from sys import stdin
A = stdin.readline().rstrip()

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

for i in range(len(weather)):
    if A == weather[i]:
        t = i
        break
    else:
        i += 1


print(weather[t+1])

Solution (Python):
S=input()

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

print(weather[S])

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

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

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

Solution (Python):
S = input()

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

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

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

Solution (Python):

weather = ['Sunny', 'Cloudy', 'Rainy']
s = input()
print(weather[weather.index(s) + 1] if s != 'Rainy' else 'Sunny')

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

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

Solution (Python):
from collections import deque
from collections import Counter
from itertools import product, permutations,combinations
from operator import itemgetter
from heapq import heappop, heappush
from bisect import bisect_left, bisect_right, bisect




from fractions import gcd
from math import ceil,floor, sqrt, cos, sin, pi, factorial
import sys
read = sys.stdin.buffer.read
readline = sys.stdin.buffer.readline
readlines = sys.stdin.buffer.readlines
sys.setrecursionlimit(10**8)
INF = float('inf')

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()
arr=["Sunny","Cloudy","Rainy"]
print(arr[arr.index(s)+1] if arr.index(s)<2 else arr[0])

Solution (Python):
ans_list = ( 'Sunny,Cloudy,Rainy ')
a = ans_list.split(',')
n = input()
for i in range(3):
    if a[i] == n:
        print(a[i+1])
        break
    if i == 2:
        print(a[0])

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

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

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

Solution (Python):
import itertools
import fractions
def main():
  S = ['Sunny','Cloudy','Rainy']
  s = input()
  i = 0
  while True:
    if s == S[i]:
      break
    i += 1
  print(S[(i+1)%3])
if __name__ == '__main__':
  main()

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

else:
    print(S[S.index(s)+1])

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

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

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[0] if weather.index(s) == 2 else weather[weather.index(s)+1])

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

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

Solution (Python):
import sys

weather = 'Sunny, Cloudy, Rainy, Sunny'.split(', ')
nex = dict(zip(weather[:-1], weather[1:]))

s = sys.stdin.readline().rstrip()

def main():
    print(nex[s])

if __name__ ==  '__main__':
    main()

Solution (Python):
s = input()

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

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

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

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):
import sys
import math
import collections
from collections import deque


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()
w=['Sunny','Cloudy','Rainy','Sunny']
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 = 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()
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")
elif a=="Rainy":
  print("Sunny")

Solution (Python):
import sys

sr = lambda: sys.stdin.readline().rstrip()
ir = lambda: int(sr())
lr = lambda: list(map(int, sr().split()))

L = ['Sunny', 'Cloudy', 'Rainy']
S = sr()
i = L.index(S)
print(L[(i+1) % 3])

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

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

Solution (Python):
s = input()

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

weather_index = weather.index(s)

print(weather[(weather_index + 1) % 3])

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

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

Solution (Python):
S = input()

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

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

Solution (Python):
























l = ["Sunny", "Cloudy", "Rainy"]
print(l[(l.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()
t = "Sunny Cloudy Rainy".split()
for i in range(3):
    if s==t[i]:
        print(t[(i+1)%3])
        break

Solution (Python):
s = input()
t = "Sunny Cloudy Rainy".split()
for i in range(3):
    if s==t[i]:
        print(t[(i+1)%3])
        break

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

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

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

for i in range(3):
    if s == l[i]:
        print(l[i + 1])
        break
    if s == 'Rainy':
        print('Sunny')
        break

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

Solution (Python):
A = ['Sunny','Cloudy','Rainy']
S = input()
for i in range(3):
  if A[i] == S:
    ans = A[(i+1)%3]
print(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):
S = input()

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

i = 0
while i < 4:
    if W_list[i] == S:
        print(W_list[i+1])
        break
    else:
        i = i+1

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

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

Solution (Python):

"""
A - Weather Prediction
https://atcoder.jp/contests/abc141/tasks/abc141_a

"""
import sys


def solve(S):
    return {'Sunny': 'Cloudy', 'Cloudy': 'Rainy', 'Rainy': 'Sunny'}[S]


def main(args):
    S = input()
    ans = solve(S)
    print(ans)


if __name__ == '__main__':
    main(sys.argv[1:])

Solution (Python):
import sys
input = lambda: sys.stdin.readline().rstrip()
input_nums = lambda: list(map(int, input().split()))

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

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

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

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

Solution (Python):
S = input()

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

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

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

s = input()

if s == tenki[0]:
    print(tenki[1])

elif s == tenki[1]:
    print(tenki[2])

else:
    print(tenki[0])