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

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

Solution (Python):
S = input()

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

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

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

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


def main():
    wtoi = {'Sunny': 0, 'Cloudy': 1, 'Rainy': 2}
    itow = {0: 'Cloudy', 1: 'Rainy', 2:'Sunny'}
    print(itow[wtoi[input()]])

main()

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

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

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

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

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

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

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

def receuve_input():
    input_string = str(input())
    return input_string

def predict_weather(input_string):
    print(wether_cycle[input_string])

if __name__ == '__main__':

    input_string = receuve_input()
    predict_weather(input_string)

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

Solution (Python):
today = input()

predict = { "Sunny": "Cloudy", "Cloudy": "Rainy", "Rainy": "Sunny" }
tomorrow = predict[today]

print(tomorrow)

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

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

Solution (Python):
x = str(input())
if x == 'Sunny':
   y = 'Cloudy'
elif x == 'Cloudy':
  y = 'Rainy'
else:
  y = 'Sunny'

print(y)

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

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

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

Solution (Python):
arr = ['Sunny','Cloudy','Rainy']
a = input()
idx = 0
for i in range(len(arr)):
    if a in arr[i]:
        idx = i+1
print (arr[idx] if idx <= 2 else arr[idx % 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":
    s = "Cloudy"
elif s == "Cloudy":
    s = "Rainy"
elif s == "Rainy":
    s = "Sunny"
print(s)

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

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

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

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

Solution (Python):
input=input()
weather={"Sunny":0,"Cloudy":1,"Rainy":2}
output={0:"Sunny",1:"Cloudy",2:"Rainy"}
s=weather[input]+1
if s>=3:
	s=s-3
	print(output[s])
else:
	print(output[s])

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

Solution (Python):
S = input()

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

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

Solution (Python):
w=input()

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

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

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

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

Solution (Python):
weather = input()

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

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

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

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

print(weather)

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

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

if S == "Sunny":
    print(M[1])
elif S == "Cloudy":
    print(M[2])
else:
    print(M[0])

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

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

Solution (Python):
S = input()

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

Solution (Python):


import sys,collections,itertools,re,math,fractions,decimal,random,array,bisect,heapq





def solve(f):
    s = f.read_str()
    l = ['Sunny', 'Cloudy', 'Rainy']
    for i in range(3):
        if l[i] == s:
            return l[(i+1)%3]
    return 0


class Reader(object):
    def __init__(self, filename=None):
        self.file = open(filename) if filename is not None else None
        self.case = 1

    def __readline(self):
        return self.file.next().strip() if self.file else raw_input()

    def next_case(self):
        self.file.next()
        self.case += 1

    def read_int(self): return int(self.__readline())
    def read_float(self): return float(self.__readline())
    def read_long(self): return long(self.__readline())
    def read_decimal(self): return decimal.Decimal(self.__readline())
    def read_str(self): return self.__readline()

    def read_int_list(self): return map(int, self.__readline().split())
    def read_float_list(self): return map(float, self.__readline().split())
    def read_long_list(self): return map(long, self.__readline().split())
    def read_decimal_list(self): return map(decimal.Decimal, self.__readline().split())
    def read_str_list(self): return self.__readline().split()

if __name__ == '__main__':
    filename = sys.argv[1] if len(sys.argv) > 1 else None
    f = Reader(filename)
    if f.file:
        while True:
            print "Case 
            try:
                f.next_case()
            except StopIteration:
                break
    else:
        print solve(f)

Solution (Python):
S = input()

if S == 'Sunny':
    S_tomorrow = 'Cloudy'
elif S == 'Cloudy':
    S_tomorrow = 'Rainy'
else:
    S_tomorrow = 'Sunny'

print(S_tomorrow)

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

Solution (Python):
s = input()

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

print(ans)

Solution (Python):
S = input()

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

Solution (Python):


s = (input())

lis = ['Sunny', 'Cloudy', 'Rainy']
index = lis.index(s)
index = (index+1)%len(lis)
print(lis[index])

Solution (Python):
weather = input()

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

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

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

input_s = input()

output_s = l[d[input_s]]

print(output_s)

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

input_s = input()

output_s = l[d[input_s]]

print(output_s)

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

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

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

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

Solution (Python):
import sys
sys.setrecursionlimit(2147483647)
INF=float("inf")
MOD=10**9+7

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

Solution (Python):

from collections import defaultdict,deque
from heapq import heappush, heappop
from bisect import bisect_left, bisect_right
import sys, random, itertools, math
sys.setrecursionlimit(10**5)
input = sys.stdin.readline
sqrt = math.sqrt
def LI(): return list(map(int, input().split()))
def LF(): return list(map(float, input().split()))
def LI_(): return list(map(lambda x: int(x)-1, input().split()))
def II(): return int(input())
def IF(): return float(input())
def LS(): return list(map(list, input().split()))
def S(): return list(input().rstrip())
def IR(n): return [II() for _ in range(n)]
def LIR(n): return [LI() for _ in range(n)]
def FR(n): return [IF() for _ in range(n)]
def LFR(n): return [LI() for _ in range(n)]
def LIR_(n): return [LI_() for _ in range(n)]
def SR(n): return [S() for _ in range(n)]
def LSR(n): return [LS() for _ in range(n)]
mod = 1000000007
inf = float('INF')


def A():
    d = {"Sunny":1 , "Cloudy":2, "Rainy":0}
    a = ["Sunny", "Cloudy", "Rainy"]
    print(a[d[input().rstrip()]])
    return


def B():
    s = S()
    for i, si in enumerate(s):
        if i % 2:
            if si == "R":
                print("No")
                return
        else:
            if si == "L":
                print("No")
                return
    print("Yes")
    return


def C():
    n, k, q = LI()
    d = [0] * n
    for _ in range(q):
        a = II() - 1
        d[a] += 1
    for a in d:
        if k - (q - a) > 0:
            print("Yes")
        else:
            print("No")
    return


def D():
    n, = LI()
    a = LI()
    q = []
    for ai in a:
        heappush(q, ai)
    for _ in range(m):
        heappush(q, heappop(q) / 2)
    ans = 0
    while q:
        ans += int(heappop(q))
    print(ans)
    return


def E():
    return


def F():
    return


if __name__ == '__main__':
    A()

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

Solution (Python):
input = input()

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

Solution (Python):
s = list(input())
if s[0] == "R":
  print("Sunny")
elif s[0] == "S":
  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):
a=input()

if a=='Sunny':
  print("Cloudy")

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

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

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

num=l.index(s)

print(l[num+1] if num+1<=2 else l[0])

Solution (Python):
a = input()

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

for n,x in enumerate(b):
    if x == a:
        print(b[(n+1)%3])

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

print(dic[s])

Solution (Python):


weather = input("")

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

Solution (Python):

S = input()

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

print(d[S])

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

Solution (Python):
a = input()[0]

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

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

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

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

Solution (Python):

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

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

Solution (Python):
S = input()

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

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

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

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

Solution (Python):


S = input()

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

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

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

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

Solution (Python):

s = input()
wtoi = {'Sunny': 0, 'Cloudy': 1, 'Rainy': 2}
itow = {(i-1)%3: v for v, i in wtoi.items()}
print(itow[wtoi[s]])

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

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

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

Solution (Python):


MOD = 10 ** 9 + 7

S = input()

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

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

Solution (Python):
s = input()

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

for i, w in enumerate(wet):
    if s == w:
        print(wet[(i+1)%3])
        break

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

Solution (Python):
a = input()

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

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

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

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

Solution (Python):

S = input()


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

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

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):
N = str(input(''))

if N == 'Sunny':
    ans = 'Cloudy'

elif N == 'Cloudy':
    ans = 'Rainy'

elif N == 'Rainy':
    ans = 'Sunny'

print(ans)

Solution (Python):
s = str(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):
s=input()

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

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

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

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

Solution (Python):

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

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

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


if __name__ == '__main__':
    solve()

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


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

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

Solution (Python):
str = input()
week_whether = {'Sunny':0, 'Cloudy':1, 'Rainy':2}
weel_labels = {0:'Sunny',1:'Cloudy', 2: 'Rainy'}
print(weel_labels[(week_whether[str] + 1)%3])

Solution (Python):
today = input()

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

Solution (Python):
S = input()

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

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

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

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

Solution (Python):


import sys



s= input()



if(s[0]=="S"):
	print("Cloudy")
	sys.exit()
if(s[0]=="C"):
	print("Rainy")
	sys.exit()
else:
	print("Sunny")

Solution (Python):

import sys
sys.setrecursionlimit(200000)


















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


if __name__ == '__main__':
    main()

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

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

Solution (Python):

Weather = input()

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

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

for i in range(4):
    if weather[i]==S:
        print(weather[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()

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

Solution (Python):
S = input()

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

print(outputdict.get(S))

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

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

Solution (Python):
S=input()

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

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

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

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

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

Solution (Python):
input = input()

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

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

print(s)

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

s_in = input()
if s_in == S[0]:
    ans = S[1]
elif s_in == S[1]:
    ans = S[2]
else:
    ans = S[0]

print(ans)

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

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

Solution (Python):
import sys
def input(): return sys.stdin.readline().strip()
s=input()
w=["Sunny","Cloudy","Rainy","Sunny"]
print(w[w.index(s)+1])

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

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

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

idx = w.index(input()) - 2
print(w[idx])

Solution (Python):
w = input()

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

idx = weather.index(w) - 2
print(weather[idx])

Solution (Python):
w = input()

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

idx = weather.index(w) + 1
if idx > 2:
  idx = 0
print(weather[idx])

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

Solution (Python):
def main():

    weather_tuple = ("Sunny", "Cloudy", "Rainy")

    S = input()

    for i, weather in enumerate(weather_tuple):
        if S == weather:
            print(weather_tuple[(i + 1) % 3])

if __name__ == "__main__":
    main()

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

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

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

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

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

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

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

Solution (Python):
str = input()

tom = 'Sunny'

if str == 'Sunny':
	tom = 'Cloudy'
elif str == 'Cloudy':
  	tom = 'Rainy'

print(tom)

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

Solution (Python):
def slove():
    import sys
    input = sys.stdin.readline
    d = {"Sunny": "Cloudy", "Cloudy": "Rainy", "Rainy": "Sunny"}
    s = str(input().rstrip('\n'))
    print(d[s])


if __name__ == '__main__':
    slove()

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

Solution (Python):
today = input()

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

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

Solution (Python):


whether_dict = {'Sunny': 1, 'Cloudy': 2, 'Rainy': 3}

s = input()

a = whether_dict[s] + 1

if a > 3:
    print('Sunny')
elif a == 2:
    print('Cloudy')
elif a == 3:
    print('Rainy')

Solution (Python):
originWeather = input()
weatherList = ['Sunny', 'Cloudy', 'Rainy']

if originWeather == 'Sunny':
    print(weatherList[1])

if originWeather == 'Cloudy':
    print(weatherList[2])

if originWeather == 'Rainy':
    print(weatherList[0])

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

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

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

Solution (Python):
input_weather=input()

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

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

Solution (Python):


S = input()

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

Solution (Python):
A="Sunny"
B="Cloudy"
C="Rainy"
D=input()
if D==A:
  print(B)
elif D==B:
  print(C)
elif D==C:
  print(A)