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:
# -*- coding: UTF-8 -*-

weather = input()
weahters = ["Sunny", "Cloudy", "Rainy"]
index = weahters.index(weather)
if index == 2:
  next_index = 0
else:
  next_index = index + 1

print(weahters[next_index])

Submission status: Accepted

Solution code:
# python3

def whether_predict(s):
	w_list=["Sunny", "Cloudy", "Rainy"]
	num=w_list.index(s)
	predict_index= (num+1)%3
	return w_list[predict_index]

if __name__ == '__main__':
    input = input()
    print(whether_predict(input))

Submission status: Accepted

Solution code:
import sys

sys.setrecursionlimit(10 ** 7)

S = input()

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

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

Submission status: Accepted

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

Submission status: Accepted

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


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


# 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:
# -*- coding: utf-8 -*-
# n = int(input())
w = input()

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
wet_list = ["Sunny", "Cloudy", "Rainy"]
S = input()
a = wet_list.index(S)

if a<2:
    print(wet_list[a+1])
else:
    print(wet_list[0])

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:
# -*- coding: utf-8 -*-
import sys
from operator import itemgetter
from fractions import gcd
from math import ceil, floor, sqrt
from copy import deepcopy
from collections import Counter, deque
import heapq
from functools import reduce
sys.setrecursionlimit(200000)
# local only
# if not __debug__:
#     fin = open('in_1.txt', 'r')
#     sys.stdin = fin
# local only
# input = sys.stdin.readline
# def ii(): return int(input())
# def mi(): return map(int, input().rstrip().split())
# def lmi(): return list(map(int, input().rstrip().split()))
# def fi(): return float(input())
# def mfi(): return map(float, input().rstrip().split())
# def lmfi(): return list(map(float, input().rstrip().split()))
# def li(): return list(input().rstrip())
# def debug(*args, sep=" ", end="\n"): print("debug:", *args, file=sys.stderr, sep=sep, end=end) if not __debug__ else None
# def exit(*arg): print(*arg); sys.exit()
# template


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__':
    if not __debug__:
        import doctest
        doctest.testmod()
    main()

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

Submission status: Accepted

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

if s[0] == S:
    print(s[1])
if s[1] == S:
    print(s[2])
if s[2] == S:
    print(s[0])

Submission status: Accepted

Solution code:
inputval = input()

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

Submission status: Accepted

Solution code:
# -*- coding: utf-8 -*-
"""
Created on Fri Sep 13 22:46:19 2019

"""

S=input()

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
today = input()

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

days = weather.index(today)
tomorrow = days + 1
if tomorrow == 3:
    tomorrow = 0
    
print(weather[tomorrow])

Submission status: Accepted

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

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')
elif s == 'Rainy':
  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:
N = input()

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

idx = l.index(N)

if idx == 2:
    print(l[0])
else:
    print(l[idx+1])

Submission status: Accepted

Solution code:
S = input()

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

Submission status: Accepted

Solution code:
s = input()

if s == 'Rainy':
	s = 'Sunny'
elif s == 'Cloudy':
	s = 'Rainy'
else:
	s = 'Cloudy'
print(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:
W = ["Sunny", "Cloudy", "Rainy"]
S = str(input())

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

Submission status: Accepted

Solution code:
s = input()

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

print(weather[(weather.index(s) + 1) % len(weather)])

Submission status: Accepted

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

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

Submission status: Accepted

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

S = input()

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

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

Submission status: Accepted

Solution code:
s = input()
dict = {1:'Sunny', 2:'Cloudy', 3:'Rainy'}
for i in range(1,4):
    if s == dict[i]:
        if i < 3:
            print(dict[i+1])
            break
        else:
            print(dict[1])

Submission status: Accepted

Solution code:
w = ['Sunny', 'Cloudy', 'Rainy']
s = input()
i = w.index(s) +1
if i==3:
  i=0
print(w[i])

Submission status: Accepted

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

Submission status: Accepted

Solution code:
s=input()
W=['Sunny', 'Cloudy', 'Rainy']
def weather(s,W):
  for i in range(len(W)):
    if s == W[i]:
      if s == W[-1]:
        return W[0]
      else:
        return W[i+1]
print(weather(s,W))

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:
s_l = ['Sunny', 'Cloudy', 'Rainy' ]
a = input()
for i in range(len(s_l)):
    if a == s_l[i]:
        try:
            print(s_l[i+1])
        except:
            print(s_l[0])
        break

Submission status: Accepted

Solution code:

s = input()

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


i = table.index(s)

print(table[(i+1)%len(table)])

Submission status: Accepted

Solution code:
s = input()

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

for i in range(len(w_list)):
    if(s == w_list[i]):
        print(w_list[(i+1)%len(w_list)])

Submission status: Accepted

Solution code:
S = input()

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

if S == Slist[0]:
    TS = Slist[1]
elif S == Slist[1]:
    TS = Slist[2]
else:
    TS = Slist[0]

print(TS)

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

Submission status: Accepted

Solution code:
from collections import Counter,defaultdict,deque
import sys,heapq,bisect,math,itertools,string,queue
sys.setrecursionlimit(10**8)
mod = 10**9+7
def inp(): return int(sys.stdin.readline())
def inpl(): return list(map(int, sys.stdin.readline().split()))
def inpl_str(): return list(sys.stdin.readline().split())
def inpln(n): return list(int(sys.stdin.readline()) for i in range(n))

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
S = raw_input()
MP = {'Sunny': 'Cloudy',
        'Cloudy': 'Rainy',
        'Rainy' : 'Sunny'}
print(MP[S])

Submission status: Accepted

Solution code:
import sys
import math
from copy import deepcopy
from collections import deque, defaultdict
from operator import mul
from functools import reduce
sys.setrecursionlimit(20000000)

# input = sys.stdin.readline


def main():
    s = input()

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


if __name__ == '__main__':
    main()

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:
from collections import Counter, defaultdict
import sys
sys.setrecursionlimit(10 ** 5 + 10)
# input = sys.stdin.readline
from math import factorial
import heapq, bisect
import math
import itertools


import queue
from collections import deque


def main():
    a = input()

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


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:
# coding: utf-8

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

Submission status: Accepted

Solution code:
ward=input()
if(ward=="Sunny"):
    print("Cloudy")
elif(ward=="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:
text = input()
if text=='Sunny':
    print('Cloudy')
elif text=='Cloudy':
    print('Rainy')
else:
    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:
today = input()
if today == 'Sunny':
	print('Cloudy')
elif today == 'Cloudy':
  	print('Rainy')
elif today == '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:
def main():
    S = input()
    if (S == 'Sunny'):
        print('Cloudy')
    elif (S == 'Cloudy'):
        print('Rainy')
    else:
        print('Sunny')

if __name__ == '__main__':
    main()

Submission status: Accepted

Solution code:
# coding: utf-8

S = input()

s = "Sunny"
c = "Cloudy"
r = "Rainy"

if S == s:
    print(c)
elif S == c:
    print(r)
else:
    print(s)

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

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

Submission status: Accepted

Solution code:
def main():
    wtoi={"Sunny":0,"Cloudy":1,"Rainy":2}
    itow=["Sunny","Cloudy","Rainy"]
    s=input()
    i=wtoi[s]
    i=(i+1)%3
    print(itow[i])

main()

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

Submission status: Accepted

Solution code:
tenki = input()
weather_list = ['Sunny', 'Cloudy', 'Rainy','Sunny']
tenki_next = weather_list.index(tenki)
print(weather_list[tenki_next+1])

Submission status: Accepted

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

Submission status: Accepted

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


import sys

def input(): return sys.stdin.readline().strip()
def list2d(a, b, c): return [[c] * b for i in range(a)]
def list3d(a, b, c, d): return [[[d] * c for j in range(b)] for i in range(a)]
def list4d(a, b, c, d, e): return [[[[e] * d for j in range(c)] for j in range(b)] for i in range(a)]
def ceil(x, y=1): return int(-(-x // y))
def INT(): return int(input())
def MAP(): return map(int, input().split())
def LIST(N=None): return list(MAP()) if N is None else [INT() for i in range(N)]
def Yes(): print('Yes')
def No(): print('No')
def YES(): print('YES')
def NO(): print('NO')
sys.setrecursionlimit(10 ** 9)
INF = float('inf')
MOD = 10 ** 9 + 7

S = input()

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

Submission status: Accepted

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


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








if __name__ =='__main__':
    main()

Submission status: Accepted

Solution code:
s = input()
w = {'Sunny':'Cloudy', 'Cloudy':'Rainy', 'Rainy':'Sunny'}
print(w[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:
import sys

input = sys.stdin.readline

S = input().strip()

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


print(ans)

Submission status: Accepted

Solution code:
today = input()

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

Submission status: Accepted

Solution code:
S = (input())
D=["Sunny","Cloudy","Rainy"]
if S == D[0]:
  print(D[1])
elif S== D[1]:
  print(D[2])
elif S== D[2]:
  print(D[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:
wea = ['Sunny', 'Cloudy', 'Rainy']
dic = {'Sunny': 0, 'Cloudy':1 , 'Rainy': 2}

t = raw_input()
a = dic[t]
print wea[(a + 1) % 3]

Submission status: Accepted

Solution code:
s = input()

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

print(weather[(weather.index(s)+1)%len(weather)])

Submission status: Accepted

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

Submission status: Accepted

Solution code:
S = str(input())

if S == 'Sunny':
  out = 'Cloudy'
elif S == 'Cloudy':
  out = 'Rainy'
elif S == 'Rainy':
  out = 'Sunny'

print(out)

Submission status: Accepted

Solution code:
N = str(input())

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

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
str1 = input()
weather = ["Sunny", "Cloudy", "Rainy"];
print(weather[(weather.index(str1) + 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:
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 "Sunny" == s:
  print("Cloudy")
elif "Cloudy" == s:
  print("Rainy")
else:
  print("Sunny")

Submission status: Accepted

Solution code:
S=input()
w=["Sunny","Cloudy","Rainy"]*2
d=w.index(S)
print(w[d+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:
a=input()

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

Submission status: Accepted

Solution code:
# -*- coding: utf-8 -*-
s = input()
if s =='Sunny':
    tomorrow = 'Cloudy'
elif s=='Cloudy':
    tomorrow = 'Rainy'
elif s=='Rainy':
    tomorrow = 'Sunny'
print("{}".format(tomorrow))

Submission status: Accepted

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

todays_wether = input()

index = wethers.index(todays_wether)
answer_index = (index + 1) % 3

print(wethers[answer_index])

Submission status: Accepted

Solution code:
def A():
    w = ['Sunny', 'Cloudy', 'Rainy']
    today = input()
    index = w.index(today)
    if index == 2:
        index = -1
    print(w[index+1])

A()

Submission status: Accepted

Solution code:
a = input()

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
s = str(input())

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

print(ans)

Submission status: Accepted

Solution code:
import numpy as np
import math
import subprocess
import random
import os
import sys

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

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

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

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

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":
    t = "Cloudy"
elif s == "Cloudy":
    t = "Rainy"
else:
    t = "Sunny"

print(t)

Submission status: Accepted

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

Submission status: Accepted

Solution code:
def test():
    s = input()
    weather = {"Sunny":"Cloudy","Cloudy":"Rainy","Rainy":"Sunny"}
    for k,v in weather.items():
        if k == s:
            print(v)


if __name__ == "__main__":
    test()

Submission status: Accepted

Solution code:
# -*- coding: utf-8 -*-
S=str(input())
if(S=="Sunny"):
    print('Cloudy')
elif(S=="Cloudy"):
    print('Rainy')
else: print('Sunny')

Submission status: Accepted

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

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

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

Submission status: Accepted

Solution code:

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
s = input()

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

Submission status: Accepted

Solution code:
S = input()

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

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

Submission status: Accepted

Solution code:
weather = input()
arr = ['Sunny', 'Cloudy', 'Rainy']
if weather == 'Sunny':
    print('Cloudy')
elif weather == 'Cloudy':
    print('Rainy')
elif weather == 'Rainy':
    print('Sunny')

Submission status: Accepted

Solution code:
#!/usr/bin/python
# coding: UTF-8


#import scipy.optimize
#import numpy as np

    
##################################################################

if __name__ == "__main__":

    Input1 = [str(input()) for i in range(1)]
    if Input1[0] == 'Sunny':
        print('Cloudy')
    elif Input1[0] == '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:
#!/usr/bin/env python
# coding: utf-8

# In[1]:


S = input()


# In[4]:


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


# In[ ]:

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

today = input()
print(tenki[tenki.index(today)+1])

Submission status: Accepted

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

Submission status: Accepted

Solution code:
today = input()
li = ['Sunny', 'Cloudy', 'Rainy']
index = li.index(today)


def next_index(idx):
    if index == 2:
        return 0
    else:
        return idx + 1


print(li[next_index(index)])

Submission status: Accepted

Solution code:
import sys
from pprint import pprint

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

if __name__ == '__main__':
    s = sys.stdin.readline().strip()
    solve(s)

Submission status: Accepted

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

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

today_weather = input().strip()
print(weather_loop[(weather_loop.index(today_weather) + 1) % len(weather_loop)])

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

Submission status: Accepted

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

i = (table.index(S) + 1) % 3
print(table[i])

Submission status: Accepted

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

Submission status: Accepted

Solution code:
s=input()

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

ans=w.index(s)+1
ans=0 if ans==3 else ans
print(w[ans])

Submission status: Accepted

Solution code:
s = list(input().split())
if s[0] == "Sunny":print("Cloudy")
elif s[0] == "Cloudy":print("Rainy")
elif s[0] == "Rainy":print("Sunny")

Submission status: Accepted

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

Submission status: Accepted

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

index = weather.index(w)
index += 1
if index == 3:
    index = 0

print(weather[index])

Submission status: Accepted

Solution code:
S = input()

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