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 = str(input())
loop = ["Sunny","Cloudy","Rainy"]
i = loop.index(s)
print(loop[(i+1)%3])

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:
#! /usr/bin/env python3
# -*- coding:utf-8 -*-

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

def next_weather(s):
    return WEATHER[(WEATHER.index(s)+1)%len(WEATHER)]

def main():
    s = input()
    print(next_weather(s))

if __name__ == "__main__":
    main()

Submission status: Accepted

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

Submission status: Accepted

Solution code:
import sys
a=input()
weather=['Sunny','Cloudy','Rainy']
print(weather[(weather.index(a)+1)%3])

Submission status: Accepted

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

Submission status: Accepted

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

print(weather[input()])

Submission status: Accepted

Solution code:
import sys
S = sys.stdin.readline().rstrip()
L = ['Sunny', 'Cloudy', 'Rainy']
if S ==L[0]:
    print(L[1])
elif S ==L[1]:
    print(L[2])
elif S ==L[2]:
    print(L[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:
# -*- coding: utf-8 -*-
# 入力
S = input()
# list
W = ["Sunny", "Cloudy", "Rainy"]

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
#abc141a

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

Submission status: Accepted

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

if __name__ == '__main__':
  main()

Submission status: Accepted

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

Submission status: Accepted

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

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

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:
S = input()[0]
print ("Cloudy" if S =="S" else "Rainy" if S == "C" else "Sunny")

Submission status: Accepted

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

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

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

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

Submission status: Accepted

Solution code:
W = input()
wether = ['Sunny','Cloudy','Rainy']
i = 0
while W != wether[i]:
  i+=1
print(wether[(i+1)%3])

Submission status: Accepted

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

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:
#!/usr/bin/env python3
import sys


def solve(S: str):
    s = S
    weather_list = ["Sunny", "Cloudy", "Rainy"]

    index = weather_list.index(s)
    if index != 2:
        print(weather_list[index + 1])
    elif index == 2:
        print(weather_list[0])

    return


def main():
    def iterate_tokens():
        for line in sys.stdin:
            for word in line.split():
                yield word

    tokens = iterate_tokens()
    S = next(tokens)  # type: str
    solve(S)


if __name__ == "__main__":
    main()

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
#!/usr/bin/env python3
import sys


def solve(S: str):
    s = S
    weather_list = ["Sunny", "Cloudy", "Rainy"]

    index = weather_list.index(s)
    if index != 2:
        print(weather_list[index + 1])
    elif index == 2:
        print(weather_list[0])


# Generated by 1.1.5 https://github.com/kyuridenamida/atcoder-tools  (tips: You use the default template now. You can remove this line by using your custom template)
def main():
    def iterate_tokens():
        for line in sys.stdin:
            for word in line.split():
                yield word

    tokens = iterate_tokens()
    S = next(tokens)  # type: str
    solve(S)


if __name__ == "__main__":
    main()

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:
arr = ['Sunny', 'Cloudy', 'Rainy']
today = arr.index(input())
print(arr[(today + 1)%len(arr)])

Submission status: Accepted

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

print(W[(W.index(S) + 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:
from sys import stdin
S = (stdin.readline().rstrip())
if S[0] == "S":
    print("Cloudy")
elif S[0] == "C":
    print("Rainy")
else:
    print("Sunny")

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
l='Rainy CloudySunny ';print(l[l.find(input())-6:][:6])

Submission status: Accepted

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

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

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

Submission status: Accepted

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

Submission status: Accepted

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

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:
r=["Sunny","Cloudy","Rainy"];print(r[-~r.index(input())%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:
t = input()
pred ={'Sunny':'Cloudy','Cloudy':'Rainy','Rainy':'Sunny'}
print(pred[t])

Submission status: Accepted

Solution code:
import math

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

Submission status: Accepted

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

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

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

Submission status: Accepted

Solution code:
import sys

def main():
    N = sys.stdin.readline().rstrip()
    w = ['Sunny', 'Cloudy', 'Rainy']
    i = w.index(N)
    print(w[(i+1)%3])

if __name__=='__main__':
    main()

Submission status: Accepted

Solution code:
W = 'Sunny', 'Cloudy', 'Rainy'
i = W.index(raw_input())
print W[(i+1)%3]

Submission status: Accepted

Solution code:
import sys
 

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

if __name__ == "__main__":
    main()

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

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

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()
weather = ['Sunny', 'Cloudy', 'Rainy']
n = weather.index(s)
if n == 2:
    print(weather[0])
else:
    print(weather[n + 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:
d = {
    'Sunny': 'Cloudy',
    'Cloudy': 'Rainy',
    'Rainy': 'Sunny'
}

i = input()

print(d[i])

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

Submission status: Accepted

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

if __name__ == "__main__":
    solve()

Submission status: Accepted

Solution code:
tenki = input()

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

Submission status: Accepted

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

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:
to_w=input()
w_predict=['Sunny','Cloudy','Rainy']
ind=w_predict.index(to_w[0].upper()+to_w[1:])

print(w_predict[(ind+1)%3])

Submission status: Accepted

Solution code:
weather=['Sunny', 'Cloudy', 'Rainy']
today=input()
i=weather.index(today)
print(weather[(i+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:
S = input()

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

Submission status: Accepted

Solution code:
#!/usr/bin/env python3
import sys

# Generated by 1.1.5 https://github.com/kyuridenamida/atcoder-tools  (tips: You use the default template now. You can remove this line by using your custom template)
def main():
    w_list = ['Sunny', 'Cloudy', 'Rainy']
    w = str(input())
    print(w_list[(w_list.index(w) + 1) % 3])

if __name__ == '__main__':
    main()

Submission status: Accepted

Solution code:
w = input()

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

Submission status: Accepted

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

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()
list_1 = ["Sunny","Cloudy","Rainy"]
t = list_1.index(s)
if t == 0:
    print("Cloudy")
elif t == 1:
    print("Rainy")
else:
    print("Sunny")

Submission status: Accepted

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

Submission status: Accepted

Solution code:
#! /usr/bin/env python3
# -*- coding: utf-8 -*-

import sys, os

def main():
    sun = "Sunny"
    clo = "Cloudy"
    rin = "Rainy"
    today = input()
    if today == sun:
        ans = clo
    elif today == clo:
        ans = rin
    elif today == rin:
        ans = sun

    print(ans)    
if __name__ == "__main__" :
    main()

Submission status: Accepted

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

Submission status: Accepted

Solution code:
__author__ = 'Esfandiar'

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

Submission status: Accepted

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

Submission status: Accepted

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


if __name__ == "__main__":
    resolve()

Submission status: Accepted

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

Submission status: Accepted

Solution code:
today_weather = input()
tomorrow_weather = 0
if today_weather == 'Sunny':
    tomorrow_weather = 'Cloudy'
elif today_weather == 'Cloudy':
    tomorrow_weather = 'Rainy'
elif today_weather == 'Rainy':
    tomorrow_weather = 'Sunny'
print(tomorrow_weather)

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
S = input()

ans = ''
if S == 'Sunny': ans = 'Cloudy'
if S == 'Cloudy': ans = 'Rainy'
if S == 'Rainy': ans = 'Sunny'

print('{}'.format(ans))

Submission status: Accepted

Solution code:
s=str(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:
w = ['Rainy', 'Cloudy', 'Sunny']

S = input()

print(w[w.index(S) - 1]);

Submission status: Accepted

Solution code:
import numpy as np

s_array = np.array(["Sunny", "Cloudy", "Rainy"])
r_array = np.array(["Cloudy", "Rainy", "Sunny"])

S = input()

print(r_array[s_array == S][0])

Submission status: Accepted

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

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:
s=str(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")
else:
  print("Check")

Submission status: Accepted

Solution code:
S = input()

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
w=input()
a=("Sunny","Cloudy","Rainy")
b=a.index(w)
if b == 2:
    ans=0
else:
    ans=b+1
c=a[ans]
print(c)

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
from sys import stdin
n = stdin.readline().rstrip()
if n== "Sunny":
  print("Cloudy")
elif n== "Cloudy":
  print("Rainy")
else:
  print("Sunny")

Submission status: Accepted

Solution code:
str = input()

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

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 -*-

import sys

debug = False

def log(text):
    if debug:
        print(text)

def parse_input(lines_as_string = None):

    global debug
    lines = []
    if lines_as_string is None:
        debug = False
        # for line in sys.stdin:
        #     lines.append(line)
        lines.append(input())
    else:
        debug = True
        lines = [e for e in lines_as_string.split("\n")][1:-1]

    s = lines[0]

    return (s,)


def solve(s):

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



    return w[s]


def main():
    # 出力
    result = solve(*parse_input())
    if isinstance(result, list):
        for r in result:
            print("%s" % r, sep='')
    else:
        print("%s" % result, sep='')

if __name__ == '__main__':

    main()

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

Submission status: Accepted

Solution code:
#!/usr/bin/env python
# -*- coding: utf-8 -*-

from sys import stdin
import math

# 標準入力をスペースで区切って、intに変換 listに収納
today_weather = stdin.readline().rstrip()

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

Submission status: Accepted

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

Submission status: Accepted

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

S = input()
if S == weathers[0]:
    print(weathers[1])
elif S == weathers[1]:
    print(weathers[2])
elif S == weathers[2]:
    print(weathers[0])

Submission status: Accepted

Solution code:
def prediction():
    weather = input()
    weathers = ['Sunny', 'Cloudy', 'Rainy']
    counter = 0
    for i in weathers:
        if i == 'Rainy':
            return 'Sunny'
        elif i == weather:
            return weathers[counter + 1]
        counter += 1

if __name__ == "__main__":
    print(prediction())

Submission status: Accepted

Solution code:
s = str(input())

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

print(ans)

Submission status: Accepted

Solution code:
Today_weather = input()

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

Submission status: Accepted

Solution code:
def main():
    s = input()
    weathers = ['Sunny', 'Cloudy', 'Rainy']
    length = weathers.__len__()
    index = weathers.index(s) + 1

    if index >= length:
        index = 0

    print(weathers[index])


if __name__ == "__main__":
    main()

Submission status: Accepted

Solution code:
str = input()

if str == "Sunny":
    print("Cloudy",end="\n")
if str == "Cloudy":
    print("Rainy",end="\n")
if str == "Rainy":
    print("Sunny",end="\n")

Submission status: Accepted

Solution code:
import sys

input = sys.stdin.readline


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


if __name__ == '__main__':
    S = input()

    answer = solve(S.strip())
    print(answer)

Submission status: Accepted

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

Submission status: Accepted

Solution code:
import sys
def input():
    return sys.stdin.readline()[:-1]
# input
S = input()

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

Submission status: Accepted

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

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

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

Submission status: Accepted

Solution code:
S = input()

print(["Sunny", "Cloudy", "Rainy"][("SCR".find(S[0])+1)%3])

Submission status: Accepted

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

Submission status: Accepted

Solution code:
if __name__ == '__main__':
    weathers = [
        'Sunny',
        'Cloudy',
        'Rainy'
    ]

    s = str(input())

    index = 0
    next_index = 0

    for w in weathers:
        if w == s:
            next_index = (index + 1) % 3
            break
        else:
            index += 1

    print(weathers[next_index])

Submission status: Accepted

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

if k<2:
  k=k+1
  print(l[k])
elif k==2:
  k=0
  print(l[k])

Submission status: Accepted

Solution code:
str = input().strip()

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

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

Submission status: Accepted

Solution code:
import sys
import collections
import bisect
input = sys.stdin.readline
sys.setrecursionlimit(10 ** 6)
import math
S = raw_input()
d = {'Sunny': 'Cloudy', 'Cloudy': 'Rainy', 'Rainy': 'Sunny'}
print(d[S])

Submission status: Accepted

Solution code:
a = input()
if a == "Sunny":
  print("Cloudy")
if a == "Cloudy":
  print("Rainy")
if a == "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:
S=input()
wether=["Sunny","Cloudy","Rainy"]
n=wether.index(S)
try:
    print(wether[n+1])
except:
    print(wether[0])

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:
whether_list = ["Sunny", "Cloudy", "Rainy"]

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

Submission status: Accepted

Solution code:
# -*- coding: utf-8 -*-
s = input()

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

Submission status: Accepted

Solution code:
weatherlist = ["Sunny", "Cloudy", "Rainy"]
 
weather = input().rstrip()
weathernum = weatherlist.index(weather)
 
tomorrownum = (weathernum +1) % 3

print(weatherlist[tomorrownum])

Submission status: Accepted

Solution code:
# -*- coding: utf-8 -*-
S = input()

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

Submission status: Accepted

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

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:
wheather = input().split()

if wheather[-1] == "Rainy":
    print("Sunny")
elif wheather[-1] == "Sunny":
    print("Cloudy")
elif wheather[-1] == "Cloudy":
    print("Rainy")

Submission status: Accepted

Solution code:
import sys
S = input()
a = "Sunny"
b = 'Cloudy'
c = 'Rainy'
if S == a:
    print(b)
elif S == b:
        print(c)
elif S == c:
        print(a)
else:
    sys.exit()
sys.exit()

Submission status: Accepted

Solution code:
a = input()

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

print(w[a])

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

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

Submission status: Accepted

Solution code:
import sys

#+++++
		
def main():
	a= ['Sunny', 'Cloudy', 'Rainy']
	a=a+a
	today = input()
	for i,w in enumerate(a):
		if w==today:
			print(a[i+1])
			return
		
	
	
#+++++
isTest=False

def pa(v):
	if isTest:
		print(v)

if __name__ == "__main__":
	if sys.platform =='ios':
		sys.stdin=open('inputFile.txt')
		isTest=True
	else:
		pass
		#input = sys.stdin.readline
			
	ret = main()
	if ret is not None:
		print(ret)

Submission status: Accepted

Solution code:
s = str(raw_input())
w = ['Sunny', 'Cloudy', 'Rainy']
i = w.index(s)
if i < 2:
    print(w[i+1])
else:
    print(w[0])

Submission status: Accepted

Solution code:
# -*- coding: utf-8 -*-

weather_list = ["Sunny", "Cloudy", "Rainy"]
S = str(input())

if S == "Sunny":
    x = 1
elif S == "Cloudy":
    x = 2
elif S == "Rainy":
    x = 0

print(weather_list[x])

Submission status: Accepted

Solution code:
s = str(raw_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':
    s = 'Cloudy'
elif s == 'Cloudy':
    s = 'Rainy'
else:
    s = 'Sunny'
print(s)

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:
T = ["Sunny", "Cloudy", "Rainy"]
S = input()

n = T.index(S) + 1
if n >= 3:
    n = n - 3
print(T[n])

Submission status: Accepted

Solution code:
d = dict(
    Sunny='Cloudy',
    Cloudy='Rainy',
    Rainy='Sunny'
)
print(d[input()])

Submission status: Accepted

Solution code:
def main():
  w=input()
  if(w=='Sunny'):
    print('Cloudy')
  elif(w=='Cloudy'):
    print('Rainy')
  elif(w=='Rainy'):
    print('Sunny')
    
main()