Problem:


Score: 100 points

Problem Statement

The weather in Takahashi's town changes day by day, in the following cycle: Sunny, Cloudy, Rainy, Sunny, Cloudy, Rainy, ...

Given is a string S representing the weather in the town today. Predict the weather tomorrow.

Constraints

S is Sunny, Cloudy, or Rainy.

Input

Input is given from Standard Input in the following format:

S

Output

Print a string representing the expected weather tomorrow, in the same format in which input is given.

Sample Input 1

Sunny

Sample Output 1

Cloudy

In Takahashi's town, a sunny day is followed by a cloudy day.

Sample Input 2

Rainy

Sample Output 2

Sunny



Sample input:
Sunny


Sample output:
Cloudy

Submission status: Accepted

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

Submission status: Accepted

Solution code:
s = input()
li = ["Sunny","Cloudy","Rainy"]
id = 0

if s == "Sunny":
  id = 1
elif s == "Cloudy":
  id = 2
else:
  id = 0
  
print(li[id])

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:
#Python
s = input()
ans = {'Sunny' : 'Cloudy', 
        'Cloudy' : 'Rainy',
        'Rainy' : 'Sunny' }
        
print(ans[s])

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:
# A - Weather Prediction
S = input()
if S == 'Sunny':
    print('Cloudy')
elif S == 'Cloudy':
    print('Rainy')
else:
    print('Sunny')

Submission status: Accepted

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

Submission status: Accepted

Solution code:
s = input() #str
weather_circle = ("Sunny", "Cloudy", "Rainy") #天気の周期
def next_day_weather(s) :
    s_number = weather_circle.index(s)
    if s_number < 2 :
        s_number += 1
    else :
        s_number = 0
    print(weather_circle[s_number])
next_day_weather(s)

Submission status: Accepted

Solution code:
S=input()

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
current_weather = input()

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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


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:
#一日ごとに晴れ(Sunny)、くもり(Cloudy)、雨(Rainy)

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

Submission status: Accepted

Solution code:
S = input()

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

print(a)

Submission status: Accepted

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

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

Submission status: Accepted

Solution code:
today = input()
tenki = ['Sunny','Cloudy','Rainy','Sunny']
for i in range(3):
  if(tenki[i] == today):
    tomorrow = tenki[i+1]
print(tomorrow)

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

Submission status: Accepted

Solution code:
s = input()


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

Submission status: Accepted

Solution code:
S = input()

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

Submission status: Accepted

Solution code:
inp = input()

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

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

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

Submission status: Accepted

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

S = input()

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

Submission status: Accepted

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

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

Submission status: Accepted

Solution code:
Today = input()

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
import sys
import math
import numpy as np
import copy

def main():
    s = input()
    d = ["Sunny", "Cloudy", "Rainy"]
    print(d[(d.index(s)+1)%3])
    return 0

if __name__ == '__main__':
    sys.exit(main())

Submission status: Accepted

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

Submission status: Accepted

Solution code:
S = input()

# Sunny, Cloudy, Rainy
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:
def main():
    S = input()
    if S[0] == 'S':
        print("Cloudy")
    elif S[0] == 'R':
        print("Sunny")
    else:
        print("Rainy")
    pass
 
 
if __name__ == "__main__":
    main()

Submission status: Accepted

Solution code:
s=input();print(['Rainy',['Cloudy','Sunny'][s[0]=='R']][s[-2]=='n'])

Submission status: Accepted

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


if __name__ == "__main__":
    main()

Submission status: Accepted

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

Submission status: Accepted

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

for i in range(4):
    if S == W[i]:
        print(W[i+1])
        break

Submission status: Accepted

Solution code:
S = input()
weather_list = ['Sunny','Cloudy','Rainy']
for i, weather in enumerate(weather_list):
    if S == weather:
        print(weather_list[(i+1)%3])

Submission status: Accepted

Solution code:
weather = ['Sunny', 'Cloudy', 'Rainy']
S = str(input())
for i in range(3):
    if weather[i] == S:
        if i == 2:
            print(weather[0])
        else:
            print(weather[i+1])

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

Submission status: Accepted

Solution code:
# coding: utf-8
# Your code here!
l=input()
if(l=="Sunny"):
    ans="Cloudy"
if(l=="Cloudy"):
    ans="Rainy"
if(l=="Rainy"):
    ans="Sunny"
print(ans)

Submission status: Accepted

Solution code:
#141a
S = str(input())

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

Submission status: Accepted

Solution code:
char = input()
if char == "Sunny":
    print("Cloudy")
elif char == "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:
print({"Sunny":"Cloudy", "Cloudy":"Rainy", "Rainy":"Sunny"}[input()])

Submission status: Accepted

Solution code:
s = input().split()[0]

data = ['Sunny', 'Cloudy', 'Rainy', 'Sunny']
print(data[data.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:
import sys
inputs = input().rstrip().split(' ')
mydict = {'Sunny':0, 'Cloudy':1, 'Rainy':2}
val = mydict[inputs[0]]
keys = [k for k, v in mydict.items() if v == (val+1) % 3]
print(keys[0])

Submission status: Accepted

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

Submission status: Accepted

Solution code:
#coding:utf-8

if __name__ == "__main__":
    weathers = ["Sunny", "Cloudy", "Rainy"]
    weather_today = input()
    today_idx = weathers.index(weather_today)
    print(weathers[(today_idx+1)%len(weathers)])

Submission status: Accepted

Solution code:
import sys

def main():
	s = input()
	t = ['Sunny', 'Cloudy', 'Rainy']
	ind = t.index(s)
	print(t[(ind + 1) % 3])
	
	
	
	
if __name__ == '__main__':
	main()

Submission status: Accepted

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

if __name__ == '__main__':
    resolve()

Submission status: Accepted

Solution code:
s = input()

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
t = str(input())
if(t=='Sunny'):
  print('Cloudy')
elif(t=='Cloudy'):
  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:
a = input()
x = ["Sunny", "Cloudy", "Rainy"]
print(x[(x.index(a)+1)%3])

Submission status: Accepted

Solution code:
S=input()

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

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

Submission status: Accepted

Solution code:
weather = input()
if weather == "Sunny":
  print("Cloudy")
elif weather == "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:
weather = ["Sunny", "Cloudy", "Rainy", "Sunny"]
s = input()
for c, i in enumerate(weather):
    if i == s:
        print(weather[c+1])
        break

Submission status: Accepted

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

Submission status: Accepted

Solution code:
i  = input()
if i == 'Sunny':
    print('Cloudy')
elif i == 'Cloudy':
    print('Rainy')
elif i == '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:
import sys
sys.setrecursionlimit(10000000)
def input():
    return sys.stdin.readline()[:-1]
from bisect import *
from collections import *
from heapq import *
from math import *
from itertools import *
INF = 10**10

t = ['Sunny', 'Cloudy', 'Rainy']
i = t.index(input())
print(t[(i+1)%3])

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

Solution code:
# coding: utf-8

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

Submission status: Accepted

Solution code:
s = input().rsplit()
w_list=["Sunny","Cloudy","Rainy"]

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

Submission status: Accepted

Solution code:
def solve(string):
    s = string
    c, l = "SCR", ["Sunny", "Cloudy", "Rainy"]
    return l[(c.index(s[0]) + 1) % 3]


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

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"]
print(t[t.index(input())-2])

Submission status: Accepted

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

Submission status: Accepted

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

ip = input().strip()

print(dct[ip])

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

Submission status: Accepted

Solution code:
Today = input()

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

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

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

def indexForcast(present_index = 0):
    if present_index == len(weather) - 1:
        present_index = -1
    return present_index + 1

today_weather = input()

present_index = weather.index(today_weather)

weather_forcast = weather[indexForcast(present_index)]
print(weather_forcast)

Submission status: Accepted

Solution code:
S = input()

cycle = ['Sunny', 'Cloudy', 'Rainy']
i = cycle.index(S)
print(cycle[(i + 1) % len(cycle)])

Submission status: Accepted

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

Submission status: Accepted

Solution code:
#!/usr/bin/python3

import math
import sys


DEBUG = False


def inp():
    return sys.stdin.readline().rstrip()


def dprint(*value, sep=' ', end='\n'):
    if DEBUG:
        print(*value, sep=sep, end=end)


def main():
    S = input()
    tomorrow = {
        'Sunny': 'Cloudy',
        'Cloudy': 'Rainy',
        'Rainy': 'Sunny'
    }
    print(tomorrow[S])


if __name__ == '__main__':
    main()

Submission status: Accepted

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

solve()

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:
# 2019/9/17 8:31-

def get_answer(input_list):
    w = ["Sunny", "Cloudy", "Rainy"]
    index = w.index(input_list[0])
    return w[(index + 1) % len(w)]



if __name__ == "__main__":
    input_list = []
    while True:
        try:
            input1 = input()
            if not input1:
                break
            if len(input1) == 0:
                break
            input_list.append(input1)
        except EOFError:
            break
    print(get_answer(input_list))

Submission status: Accepted

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

Submission status: Accepted

Solution code:
s = str(input())

w = ('Sunny','Cloudy','Rainy','Sunny')

ns = w[w.index(s) + 1]

print(ns)

Submission status: Accepted

Solution code:
weather = ["Sunny","Cloudy","Rainy"]
w_today = input()
for i in range(0, 3):
    if w_today == weather[i]:
        if i==2 :
            print(weather[0])
        else :
            print(weather[i+1])

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

Submission status: Accepted

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

Submission status: Accepted

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

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']
print(weathers[(weathers.index(s)+1)%3])

Submission status: Accepted

Solution code:
hoge=input()
if(hoge=="Sunny"):
  print("Cloudy")
elif(hoge=="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 = input()

n = ["Sunny", "Cloudy", "Rainy"]
today = n.index(S)
ans = n[(today + 1) % 3]
print(ans)

Submission status: Accepted

Solution code:

s = input()
m = {"Sunny": "Cloudy", "Cloudy": "Rainy", "Rainy": "Sunny"}

print(m[s])

Submission status: Accepted

Solution code:
s = input()

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

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
SU='Sunny'
CL='Cloudy'
RA='Rainy'
DICT={SU:CL, CL:RA, RA:SU}
indata=input()
print(DICT[indata])

Submission status: Accepted

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

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:
import sys
from collections import defaultdict
from heapq import *
sys.setrecursionlimit(200000)
input = sys.stdin.readline

# N, M, = map(int, input().split())
# L = [int(v) * -1 for v in input().split()]

S = input().strip()

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

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

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
import sys

stdin = sys.stdin

sn = lambda : stdin.readline().rstrip()
an = lambda : map(int, stdin.readline().split())
ni = lambda : int(sn())

s = sn()

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="Sunny"
C="Cloudy"
R="Rainy"

wh = input()

dict = {S:C,C:R,R:S}

print(dict[wh])

Submission status: Accepted

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

print(ans[(ans.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:
str = input()
if str == "Sunny":
    print("Cloudy")
if str == "Cloudy":
    print("Rainy")
if str == "Rainy":
    print("Sunny")

Submission status: Accepted

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

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

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

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

Submission status: Accepted

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

print(weather[input()])

Submission status: Accepted

Solution code:
import sys
sys.setrecursionlimit(1000000000)
ii = lambda: int(input())
mis = lambda: map(int, input().split())
lmis = lambda: list(mis())

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

main()

Submission status: Accepted

Solution code:
s=input()

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

Submission status: Accepted

Solution code:

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


def main():
    w = input()

    next_index = WETHERS.index(w) + 1
    print(WETHERS[next_index % len(WETHERS)])


if __name__ == '__main__':
    main()

Submission status: Accepted

Solution code:
tomorrow = {
  'Sunny': 'Cloudy',
  'Cloudy': 'Rainy',
  'Rainy': 'Sunny'
}
print(tomorrow[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:
w=['Sunny','Cloudy','Rainy']
print(w[w.index(input())-2])

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

if inp =="Sunny":
  print ("Cloudy")
elif inp == "Cloudy":
  print ("Rainy")
elif inp =="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()
# d={'Sunny':'Cloudy','Cloudy':'Rainy','Rainy':'Sunny'}
# print(d[s])

l = ['Sunny', 'Cloudy', 'Rainy'] * 2
print(l[l.index(s) + 1])

Submission status: Accepted

Solution code:
today_weather = input()
list = ['Sunny', 'Cloudy', 'Rainy']
for i in range(0, 3):
	if(today_weather==list[i]):
		next_weather = list[(i+1)%3]
print(next_weather)

Submission status: Accepted

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

Submission status: Accepted

Solution code:
import sys

S=sys.stdin.readline().rstrip()
if (S=='Sunny'):
  print('Cloudy')
elif (S=='Cloudy'):
  print('Rainy')
else:
  print('Sunny')

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
word = input()

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
def weather_prediction():
    today = input()
    print(tomorrow_weather_q(today))

def tomorrow_weather_q(today):
    if today == "Sunny":
        return "Cloudy"
    elif today == "Cloudy":
        return "Rainy"
    elif today == "Rainy":
        return "Sunny"
    else:
        return 0

weather_prediction()

Submission status: Accepted

Solution code:
weather = input()

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

print(list[weather])

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

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

Submission status: Accepted

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

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

Submission status: Accepted

Solution code:
i=input()

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

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:
n=input()
l=['Rainy','Cloudy','Sunny']
print(l[l.index(n)-1])

Submission status: Accepted

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

Submission status: Accepted

Solution code:
w = ['Sunny', 'Cloudy', 'Rainy']
	
while True:
	try:
		s = input()
		idx = w.index(s)
		print(w[(idx+1)%3])
	except:
		break

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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