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

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

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

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
S = input()

X = ["Sunny", "Cloudy", "Rainy"]
D = {}
for i in range(3):
    D[X[i]] = X[(i+1) % 3]

print(D[S])

Submission status: Accepted

Solution code:
per = ["Sunny", "Cloudy", "Rainy"]

w = input()
i_w = per.index(w)
if i_w == 2:
    print(per[0])
else:
    print(per[i_w + 1])

Submission status: Accepted

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

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

S = input()

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

ans = tenki[tenki.index(S) + 1]

print(ans)

Submission status: Accepted

Solution code:
if __name__ == "__main__":
    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()
print('Sunny' if S=='Rainy' else 'Rainy' if S=='Cloudy' else 'Cloudy')

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

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

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

print(t)

Submission status: Accepted

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

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:

weather_list = ['Sunny','Cloudy','Rainy']
num = weather_list.index(input())
if num <2:
    print(weather_list[num+1])
else:
    print(weather_list[0])

Submission status: Accepted

Solution code:
S = str(input())

a = "Sunny"
b = "Cloudy"
c = "Rainy"

if S == a:
    print(b)
elif S == b:
    print(c)
else:
    print(a)

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
import sys

S = input()

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

Submission status: Accepted

Solution code:
from enum import Enum
from queue import Queue

import numpy as np

import collections
import bisect
import sys
import math

from scipy.sparse.csgraph import floyd_warshall

S = input()

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

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

Submission status: Accepted

Solution code:
w = ['Sunny', 'Cloudy', 'Rainy', 'Sunny']
t = input()
if t in w:
    print(w[w.index(t)+1])

Submission status: Accepted

Solution code:
s = input();
weather = ["Sunny", "Cloudy", "Rainy"]
n = 0;

if weather.index(s) == 2:
    n = 0;
else:
    n = weather.index(s) + 1;

print(weather[n])

Submission status: Accepted

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

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

Submission status: Accepted

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

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,s=["Sunny","Cloudy","Rainy"],input()
i=l.index(s)
print(l[(i+1)%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:
a = input()
if "Sunny" == a:
    print("Cloudy")
elif "Cloudy" == a:
    print("Rainy")
elif "Rainy" == a:
    print("Sunny")

Submission status: Accepted

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

print(result)

Submission status: Accepted

Solution code:
# A - Weather Prediction
S = str(input())

weather = ('Sunny', 'Cloudy', 'Rainy')
if S == weather[0]:
    print(weather[1])
elif S == weather[1]:
    print(weather[2])
elif S == weather[2]:
    print(weather[0])

Submission status: Accepted

Solution code:
import sys
import math
input = sys.stdin.readline

weathers = {"Sunny":"Cloudy" , "Cloudy":"Rainy", "Rainy":"Sunny"}
S = input().rstrip()

print(weathers[S])

Submission status: Accepted

Solution code:

t = input()

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

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

Submission status: Accepted

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

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

print(result)

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 solve(*args: str) -> str:
    s = args[0]
    r = ''
    if(s == 'Sunny'):
        r = 'Cloudy'
    elif(s == 'Cloudy'):
        r = 'Rainy'
    elif(s == 'Rainy'):
        r = 'Sunny'

    return str(r)


if __name__ == "__main__":
    print(solve(*[input() for _ in range(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()
check = ["Sunny", "Cloudy", "Rainy"]
if "Sunny" == S:
  print("Cloudy")
elif "Cloudy" == S:
  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:
weth = input()
if weth == "Sunny":
    print("Cloudy")
    
elif weth == "Cloudy":
    print("Rainy")

elif weth == "Rainy":
    print("Sunny")

Submission status: Accepted

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

Submission status: Accepted

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

print(weather[weather.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:
s = input()

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

idx = weathers.index(s)

print(weathers[idx+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()
weathers = 'Sunny Cloudy Rainy'.split()
index = weathers.index(S)
try:
    print(weathers[index+1])
except IndexError:
    print(weathers[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:
a=input()
if a == "Sunny": print("Cloudy")
if a == "Cloudy": print("Rainy")
if a == "Rainy": print("Sunny")

Submission status: Accepted

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

Submission status: Accepted

Solution code:
arr = ["Sunny","Cloudy","Rainy"]

s = input()

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

Submission status: Accepted

Solution code:
arr = ["Sunny","Cloudy","Rainy"]

s = input()
for i,ele in enumerate(arr):
    if ele == s: ans = arr[(i+1)%3]

print(ans)

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

if today == "Sunny":
    tomorrow = "Cloudy"
elif today == "Cloudy":
    tomorrow = "Rainy"
else:
    tomorrow = "Sunny"

print(tomorrow)

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

Submission status: Accepted

Solution code:
s = input()
if "Sunny" in s:
    print("Cloudy")
elif "Cloudy" in s:
    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:
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:
def weather(s):
    if s == "Sunny":
        return "Cloudy"
    if s == "Cloudy":
        return "Rainy"
    if s == "Rainy":
        return "Sunny"


s = input().strip()
print(weather(s))

Submission status: Accepted

Solution code:
Wethers={"Sunny":0,"Cloudy":1,"Rainy":2}
Wether=["Sunny","Cloudy","Rainy"]
S=input()
S_id = Wethers[S]
print(Wether[(S_id+1)%3])

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
s = input()
tenki = ["Sunny", "Cloudy", "Rainy"]
idx = tenki.index(s)
print(tenki[(idx+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:
arr = {'Sunny':'Cloudy', 'Cloudy':'Rainy', 'Rainy':'Sunny'}
print(arr[input()])

Submission status: Accepted

Solution code:
S = input()

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

for i, day in enumerate(whether):
    if S == day:
        print(whether[(i+1)%3])
        exit()
    else:
        continue

Submission status: Accepted

Solution code:
import os
import sys

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

#today_weather = sys.argv[1]
today_weather = input()

weather_index = weather_list.index(today_weather)

weather_index = weather_index+1 if len(weather_list)-1!=weather_index else 0

print(weather_list[weather_index])

Submission status: Accepted

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

Submission status: Accepted

Solution code:
n = str(input())
if n == 'Sunny':
  print('Cloudy')
if n == 'Cloudy':
  print('Rainy')
if n == 'Rainy':
  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:
#141
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):
    l = ['Sunny', 'Cloudy', 'Rainy']
    print(l[l.index(S) + 1] if S != 'Rainy' else 'Sunny')
    return


# Generated by 1.1.6 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")
if s=="Cloudy":
  print("Rainy")
if s=="Rainy":
  print("Sunny")

Submission status: Accepted

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

S = input()


def solve(S):
    index = weather.index(S)
    next_index = 0 if index == 2 else index + 1

    return weather[next_index]


print(solve(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 = str(input())

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

Submission status: Accepted

Solution code:
"""
author : halo2halo
date : 18,Oct,2019
"""

import sys
readline = sys.stdin.readline
readlines = sys.stdin.readlines
sys.setrecursionlimit(10 ** 7)

W = readline().rstrip()
wether = ['Sunny', 'Cloudy', 'Rainy']
ans = wether.index(W) + 1
print(wether[ans % 3])

Submission status: Accepted

Solution code:
n = input()
a = {'Sunny':0, 'Cloudy':1,'Rainy':2}
aa = {0:'Sunny',1:'Cloudy',2:'Rainy'}
b = (a[n] + 1) %3
print(aa[b])

Submission status: Accepted

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

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

Submission status: Accepted

Solution code:
def main():
  weather = ['Sunny', 'Cloudy', 'Rainy', 'Sunny']
  s = input()
  for i in range(len(weather)-1):
    if s == weather[i]:
      print(weather[i+1])
      
if __name__ == '__main__':
    main()

Submission status: Accepted

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

if __name__ == "__main__":
    main()

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
now_wether = input() 

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

Submission status: Accepted

Solution code:
weather = input()
weather_list = ['Sunny', 'Cloudy', 'Rainy']
print(weather_list[weather_list.index(weather)+1]) if weather_list.index(weather) != len(weather_list) - 1 else print(weather_list[0])

Submission status: Accepted

Solution code:
S = input()

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

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')
if S == 'Cloudy':
  print('Rainy')
if 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()
weather = ['Sunny','Cloudy','Rainy']
answer = 0
for i in range(2):
    if S == weather[i]:
        answer = i + 1

print(weather[answer])

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
def main():
    array = ['Sunny', 'Cloudy', 'Rainy']
    s = input()

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


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:
s=input()
if s[0:1]=='S':
	print ('Cloudy')
elif s[0:1]=='C':
	print ('Rainy')
elif s[0:1]=='R':
	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 == 'Cloudy':
    print('Rainy')
elif s == 'Rainy':
    print('Sunny')

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

Submission status: Accepted

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

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()
S ='Sunny'
C ='Cloudy'
R ='Rainy'

if s == S:
    print(C)
elif s == C:
    print(R)
else:
    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:
S = input()

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

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:
#!/usr/bin/env python3
import sys
input = lambda: sys.stdin.readline()[:-1]
sys.setrecursionlimit(10**8)

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

Submission status: Accepted

Solution code:
s = input()
L = ['Sunny', 'Cloudy', 'Rainy']
print(L[(L.index(s)+1)%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 =="Rainy":
    print("Sunny")
else:
    print("Rainy")

Submission status: Accepted

Solution code:
s = input()
ary = ['Sunny', 'Cloudy', 'Rainy']
for i, ss in enumerate(ary):
  if i < 2 and ss == s:
    print(ary[i+1])
    break
  elif i == 2:
    print(ary[0])
    break
  else:
    continue

Submission status: Accepted

Solution code:
t=input()
w = ['Sunny', 'Cloudy', 'Rainy']
for i in range(-1,-4,-1):
  if(t==w[i]):
    print(w[i+1])

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
import sys

status = input()
out = ["Sunny", "Cloudy", "Rainy"]

if status==out[0]:
	print(out[1])
elif status==out[1]:
	print(out[2])
elif status==out[2]:
	print(out[0])

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:
#文字列が1つの場合
s = str(input())
#入力が「Sunny」なら「Cloudy」を出力
if s == "Sunny":
    print("Cloudy")
#入力が「Cloudy」なら「Rainy」を出力
elif s == "Cloudy":
    print("Rainy")
#入力が「Rainy」なら「Sunny」を出力
elif s == "Rainy":
    print("Sunny")

Submission status: Accepted

Solution code:
d = {0:"Sunny",1:"Cloudy",2:"Rainy"}
def get_key(val):
  for i in d.keys():
    if d[i] == val:
      return int(i)
str_ = input()
print(d[(get_key(str_) + 1 ) % 3 ])

Submission status: Accepted

Solution code:

N = input()

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

for i in range(3):
    if N == weather[i]:
        if i==2:
            print(weather[0])
        else:
            print(weather[i+1])

Submission status: Accepted

Solution code:
s = input()

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

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

Submission status: Accepted

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

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


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


if __name__ == '__main__':
    main()

Submission status: Accepted

Solution code:
def t(s):
    return "Sunny" if s == "Rainy" else "Cloudy" if s == "Sunny" else "Rainy"


if __name__ == "__main__":
    print(t(input()))

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

str = input()

num = (wea.index(str) + 1) % 3

print(wea[num])

Submission status: Accepted

Solution code:
S = input()
print("Cloudy" if S=="Sunny" else ("Rainy" if S=="Cloudy" else "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:
wet = input()

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

hare = "Sunny"
kumo = "Cloudy"
ame = "Rainy"

if S == hare:
    print(kumo)
elif S == kumo:
    print(ame)
else:
    print(hare)

Submission status: Accepted

Solution code:
n=input()
L=["Sunny","Cloudy","Rainy"]
if n == L[2]:
  print(L[0])
else:
  print(L[L.index(n)+1])

Submission status: Accepted

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

Submission status: Accepted

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

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:

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
S = input()

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