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



Sample input:
Sunny


Sample output:
Cloudy

Submission status: Accepted

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

Submission status: Accepted

Solution code:
S=input()

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

#リスト中で x と等しい値を持つ最初の要素の位置をゼロから始まる添字で返します。 該当する要素がなければ ValueError が送出されます
index=LIST_W.index(S) 
print(LIST_W[index+1])

Submission status: Accepted

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

Submission status: Accepted

Solution code:
s=input()

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
tenki = input()

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
#S:天気を表す文字列
S=input()

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

Submission status: Accepted

Solution code:
S = input()

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

for index,weather in enumerate(list1):
    if weather==S:
        if index!=2:
            print(list1[index+1])
        else:
            print(list1[0])

Submission status: Accepted

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

Submission status: Accepted

Solution code:
s=input('')

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
#A
#入力
S=input()
#処理及び出力
if S=="Sunny":
    print("Cloudy")
elif S=="Cloudy":
    print("Rainy")
else:
    print("Sunny")

Submission status: Accepted

Solution code:
S = input()

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

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

Submission status: Accepted

Solution code:
predict = {
  'Sunny':  'Cloudy',
  'Cloudy': 'Rainy',
  'Rainy':  'Sunny'
}

S = input().strip()

print(predict[S])

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
S = input()

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

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
w = ["Sunny", "Cloudy", "Rainy"]
def today(x):
  if x == "Sunny":
    return 1
  elif x == "Cloudy":
    return 2
  elif x == "Rainy":
    return 0
  
a = input()
t = w[today(a)]
print(t)

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
S = str(input())
if S == "Sunny":
    print('Cloudy')
elif S == "Cloudy":
    print('Rainy')
elif S == "Rainy":
    print('Sunny')

Submission status: Accepted

Solution code:
S = input()

weathers = ['Sunny', 'Cloudy', 'Rainy']
idx = weathers.index(S) + 1
if idx == len(weathers):
    idx = 0

print(weathers[idx])

Submission status: Accepted

Solution code:
S = input()

WS = ['Sunny', 'Cloudy', 'Rainy']
i = WS.index(S)

if i == 0 or i == 1:
    print(WS[i+1])
else:
    print(WS[0])

Submission status: Accepted

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

Submission status: Accepted

Solution code:
S = input()
A = ['Sunny', 'Cloudy', 'Rainy']
B = ['Cloudy', 'Rainy','Sunny']
for n in range(3):
    if S == A[n]:
        print(B[n])
        break

Submission status: Accepted

Solution code:
wa = {"Sunny":"Cloudy", "Cloudy":"Rainy", "Rainy":"Sunny"}
w = input()
print(wa[w])

Submission status: Accepted

Solution code:
#input
S = input()
cycle = ["Sunny", "Cloudy", "Rainy"]

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

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

Solution code:
I = input()
K = ['Sunny', 'Cloudy', 'Rainy', 'Sunny']
Idx = K.index(I)
print(K[Idx+1])

Submission status: Accepted

Solution code:
S = input()
d = {
    'Sunny':'Cloudy',
    'Cloudy':'Rainy',
    'Rainy':'Sunny'
    }

print(d[S])

Submission status: Accepted

Solution code:
from sys import stdin
s = stdin.readline().rstrip()

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

Submission status: Accepted

Solution code:
s = input()

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
s = input()

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

Submission status: Accepted

Solution code:
s=["Sunny","Cloudy","Rainy"]
a=input()
if a=="Sunny":
    print("Cloudy")
elif a=="Cloudy":
    print("Rainy")
else:
    print("Sunny")

Submission status: Accepted

Solution code:
'''A - Weather Prediction
https://atcoder.jp/contests/abc141/tasks/

>>> main('Sunny')
Cloudy
>>> main('Rainy')
Sunny'''


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


if __name__ == "__main__":
    s = input()
    main(s)

Submission status: Accepted

Solution code:
s = input()
weather = ['Sunny', 'Cloudy', 'Rainy']
def a(i):
    if i == 0 or i == 1:
        return i + 1
    else:
        return 0
print(weather[a(weather.index(s))])

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
s=input()

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
s = input()

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

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
s = input()

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

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

Submission status: Accepted

Solution code:
x = "Sunny"
y = "Cloudy"
z = "Rainy"

S = input()

if S == x:
    print(y)

if S == y:
    print(z)

if S == z:
    print(x)

Submission status: Accepted

Solution code:
s = input()
print(['Sunny','Cloudy','Rainy'][(s == 'Sunny')+(s == 'Cloudy')*2+(s == 'Rainy')*0])

Submission status: Accepted

Solution code:
from sys import stdin

S = stdin.readline().rstrip()


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


print(ans)

Submission status: Accepted

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

Submission status: Accepted

Solution code:
items = ['Sunny', 'Cloudy', 'Rainy']

target = str(input())
target_index = items.index(target)

if target_index == 2:
    print(items[0])
else:
    print(items[target_index+1])

Submission status: Accepted

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

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

Submission status: Accepted

Solution code:
a = input()
b = 'Sunny'
c = 'Cloudy'
d = 'Rainy'
if a == b:
 print(c)
if a == c:
 print(d)
if a == d:
 print(b)

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
S = input()

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

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

Submission status: Accepted

Solution code:
S = input()

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

Submission status: Accepted

Solution code:
w = input()
s = ['Sunny','Cloudy','Rainy']
for x in range(len(s)):
  if w == s[x]:
    print(s[(x+1)%3])

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
S = str(input())

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
w=input()

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

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

else:
  print('Sunny')

Submission status: Accepted

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

Submission status: Accepted

Solution code:

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

Submission status: Accepted

Solution code:
s=input()

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

Submission status: Accepted

Solution code:
s = input()

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
w = ["Sunny","Cloudy","Rainy"]
s = input()
if s == "Sunny":
    print("Cloudy")
elif s == "Cloudy":
    print("Rainy")
else:
    print("Sunny")

Submission status: Accepted

Solution code:
s = input()
su = 'Sunny'
cl = 'Cloudy'
ra = 'Rainy'
if s == su:
    print(cl)
elif s == cl:
    print(ra)
else:
    print(su)

Submission status: Accepted

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

Submission status: Accepted

Solution code:
import sys
from io import StringIO
import unittest

class TestClass(unittest.TestCase):
    def assertIO(self, input, output):
        stdout, stdin = sys.stdout, sys.stdin
        sys.stdout, sys.stdin = StringIO(), StringIO(input)
        resolve()
        sys.stdout.seek(0)
        out = sys.stdout.read()[:-1]
        sys.stdout, sys.stdin = stdout, stdin
        self.assertEqual(out, output)
    def test_入力例_1(self):
        input = """Sunny"""
        output = """Cloudy"""
        self.assertIO(input, output)
    def test_入力例_2(self):
        input = """Rainy"""
        output = """Sunny"""
        self.assertIO(input, output)

def resolve():
    dic={'Sunny':'Cloudy',"Cloudy":'Rainy','Rainy':'Sunny'}
    print(dic[input()])
if __name__ == "__main__":
    resolve()

Submission status: Accepted

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

Submission status: Accepted

Solution code:
s = input()

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
S = input()

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

Submission status: Accepted

Solution code:
p={"Sunny" : "Cloudy","Cloudy" : "Rainy", "Rainy" : "Sunny"}
x = input()
print(p[x])

Submission status: Accepted

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

Submission status: Accepted

Solution code:
import sys

input = sys.stdin.readline


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


if __name__ == "__main__":
    main()

Submission status: Accepted

Solution code:
S = input()

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

if S == "Sunny":
  W = 1
elif S == "Cloudy":
  W = 2
else:
  W = 0

print(Weather[W])

Submission status: Accepted

Solution code:
x = input()

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

Submission status: Accepted

Solution code:
S = input()

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

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

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
#!/usr/bin/env python3
S = input()
list = ["Sunny", "Cloudy", "Rainy"]
print(list[(list.index(S) + 1)%3])

Submission status: Accepted

Solution code:
# coding: utf-8
# Your code here!

S=input()

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

Submission status: Accepted

Solution code:
w = input()
if w == "Sunny":
 	print("Cloudy")
elif w == "Cloudy":
    print("Rainy")
elif w == "Rainy":
    print("Sunny")

Submission status: Accepted

Solution code:
weather = ('Sunny', 'Cloudy', 'Rainy')

w_today = input()
w_tomorrow = weather[ ( weather.index(w_today) + 1 ) % len(weather) ]

print(w_tomorrow)

Submission status: Accepted

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

Submission status: Accepted

Solution code:
S = input()

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

Submission status: Accepted

Solution code:
if __name__ == "__main__":
  s = input()
  if s == "Sunny":
    print("Cloudy")
  if s == "Cloudy":
    print("Rainy")
  if s == "Rainy":
    print("Sunny")

Submission status: Accepted

Solution code:
def main():
    S = input()

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

    print(a[S])

if __name__ == "__main__":
    main()

Submission status: Accepted

Solution code:
a = input()

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
S=str(input())
lst=['Sunny','Cloudy','Rainy']
index=lst.index(S)
if 0<=index<=1:
  print(lst[index+1])
else:
  print(lst[0])

Submission status: Accepted

Solution code:
#coding: utf-8

S = input()
ans = ""

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

print(ans)

Submission status: Accepted

Solution code:
n = input()
ans = ""

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

Submission status: Accepted

Solution code:
S = input()

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

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
# coding: utf-8

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

main()

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
weather = input()

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
today = input()

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

print(tomorrow)

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

print(y)

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
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])

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
weather = input()

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
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])

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
w=input()

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
if __name__ == '__main__':
    
    arr = ['Sunny', 'Cloudy', 'Rainy']
    S = input()
    if arr.index(S) == 2:
        print(arr[0])
    else:
        print(arr[(arr.index(S)+1)])

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

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

print(weather)

Submission status: Accepted

Solution code:
# 入力の取得
s = input()

# 空白の場合、空白を返して終了
if s == "Sunny":
    print ("Cloudy")
if s == "Cloudy":
    print ("Rainy")
if s == "Rainy":
    print ("Sunny")

Submission status: Accepted

Solution code:
s=input()

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

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

else:
    print("Sunny")

Submission status: Accepted

Solution code:
S = input()

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

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

Submission status: Accepted

Solution code:
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])

Submission status: Accepted

Solution code:
#!/usr/bin/python
# -*- coding: utf-8 -*-
import sys,collections,itertools,re,math,fractions,decimal,random,array,bisect,heapq

# decimal.getcontext().prec = 50
# sys.setrecursionlimit(10000)
# MOD = 10**9 + 7

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 #%d\n"%f.case, solve(f)
            try:
                f.next_case()
            except StopIteration:
                break
    else:
        print solve(f)

Submission status: Accepted

Solution code:
S = input()

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

print(S_tomorrow)

Submission status: Accepted

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

Submission status: Accepted

Solution code:
s = input()

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

print(ans)

Submission status: Accepted

Solution code:
S = input()

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

Submission status: Accepted

Solution code:
# -*- coding: utf-8 -*-
# 天気の入力
s = (input())
# 出力
lis = ['Sunny', 'Cloudy', 'Rainy']
index = lis.index(s)
index = (index+1)%len(lis)
print(lis[index])

Submission status: Accepted

Solution code:
weather = input()

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

Submission status: Accepted

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

Submission status: Accepted

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

input_s = input()

output_s = l[d[input_s]]

print(output_s)

Submission status: Accepted

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

Submission status: Accepted

Solution code:
S = input()
W = ['Sunny', 'Cloudy', 'Rainy', 'Sunny']
print(W[W.index(S)+1])

Submission status: Accepted

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

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

Submission status: Accepted

Solution code:
import sys
sys.setrecursionlimit(2147483647)
INF=float("inf")
MOD=10**9+7
# input=lambda :sys.stdin.readline().rstrip()
def resolve():
    s=input()
    if s=="Sunny":
        print("Cloudy")
    elif s=="Cloudy":
        print("Rainy")
    else:
        print("Sunny")
resolve()

Submission status: Accepted

Solution code:
#!/usr/bin/env python3
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')

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

#B
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

#C
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

#D
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

#E
def E():
    return

#F
def F():
    return

#Solve
if __name__ == '__main__':
    A()

Submission status: Accepted

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

Submission status: Accepted

Solution code:
input = input()

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

Submission status: Accepted

Solution code:
s = list(input())
if s[0] == "R":
  print("Sunny")
elif s[0] == "S":
  print("Cloudy")
else:
  print("Rainy")