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:
# ABC 141 A

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

try:
    print(weather[weather.index(S)+1])
except IndexError:
    print(weather[0])

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
import sys, re, os
from collections import deque, defaultdict, Counter
from math import ceil, sqrt, hypot, factorial, pi, sin, cos, radians
from itertools import permutations, combinations, product, accumulate
from operator import itemgetter, mul
from copy import deepcopy
from string import ascii_lowercase, ascii_uppercase, digits
from fractions import gcd
 
def input(): return sys.stdin.readline().strip()
def INT(): return int(input())
def MAP(): return map(int, input().split())
def S_MAP(): return map(str, input().split())
def LIST(): return list(map(int, input().split()))
def S_LIST(): return list(map(str, input().split()))
 
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:
W = {"Sunny": "Cloudy", "Cloudy": "Rainy", "Rainy": "Sunny"}
print(W[input()])

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
def nexttenki(today): 
    if today == 'Sunny':
        return 'Cloudy'
    elif today == 'Cloudy':
        return 'Rainy'
    else:
        return 'Sunny'


S = input()
print(nexttenki(S))

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

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

Solution code:
S=str(input())

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

if S in weather:
  print(weather.get(S))

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
list=['Sunny','Cloudy','Rainy']
input1=input()
if input1=='Rainy':
  print ('Sunny')
else:
	print (list[list.index(input1)+1])

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
c = input()
al = ["Sunny", "Cloudy", "Rainy"]

if al.index(c) < 2:
    print(al[al.index(c)+1])
else:
    print("Sunny")

Submission status: Accepted

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

def next_weather( today_weather : str ):
  return weather[ ( weather.index( today_weather ) + 1 ) % 3]
print( next_weather( today_weather ))

Submission status: Accepted

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

Submission status: Accepted

Solution code:
s = input()

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

Submission status: Accepted

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

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

    index = slist.index(s) + 1

    if index == 3:
        index = 0

    print(slist[index])

if __name__ == '__main__':
    main()

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 = input()
weather = ['Sunny', 'Cloudy', 'Rainy']

index = weather.index(S)
ans = weather[(index + 1) % 3]

print(ans)

Submission status: Accepted

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

S = input()

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
"""
author : halo2halo
date : 9, Jan, 2020
"""

import sys

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

W = ['Sunny', 'Cloudy', 'Rainy']
A = readline().decode('utf8').rstrip()

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

Submission status: Accepted

Solution code:
S = input()

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

num = weather.index(S)
if num == 2:
    num = -1

print(weather[num + 1])

Submission status: Accepted

Solution code:
a = input()

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

if a == "Rainy":
	print("Sunny")
else:
	print(w[w.index(a) + 1])

Submission status: Accepted

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

for i, w in enumerate(weather):
    if S == w:
        if i == 2:
             i = -1
        print(weather[i+1])
        exit()

Submission status: Accepted

Solution code:
def main():
    S = input()
    if S == "Sunny":
        print("Cloudy")
    elif S == "Rainy":
        print("Sunny")
    else:
        print("Rainy")
if __name__ == '__main__':
    main()

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

Submission status: Accepted

Solution code:
dict_ = {"Sunny":"Cloudy", "Cloudy":"Rainy", "Rainy":"Sunny"}
print(dict_[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 = input()
weather = ['Sunny', 'Cloudy', 'Rainy']
ind = weather.index(s) + 1
print(weather[ind%3])

Submission status: Accepted

Solution code:
import math,string,itertools,fractions,heapq,collections,re,array,bisect,sys,copy,functools
import time,random

sys.setrecursionlimit(10**7)
inf = 10**20
eps = 1.0 / 10**10
mod = 10**9+7
dd = [(-1,0),(0,1),(1,0),(0,-1)]
ddn = [(-1,0),(-1,1),(0,1),(1,1),(1,0),(1,-1),(0,-1),(-1,-1)]

def LI(): return list(map(int, sys.stdin.readline().split()))
def LLI(): return [list(map(int, l.split())) for l in sys.stdin.readlines()]
def LI_(): return [int(x)-1 for x in sys.stdin.readline().split()]
def LF(): return [float(x) for x in sys.stdin.readline().split()]
def LS(): return sys.stdin.readline().split()
def I(): return int(sys.stdin.readline())
def F(): return float(sys.stdin.readline())
def S(): return input()
def pf(s): return print(s, flush=True)
def pe(s): return print(str(s), file=sys.stderr)
def JA(a, sep): return sep.join(map(str, a))
def JAA(a, s, t): return s.join(t.join(map(str, b)) for b in a)


def main():
    s = S()
    t = "Sunny, Cloudy, Rainy".split(", ")
    for i in range(3):
        if s == t[i]:
            return t[(i+1)%3]

    return -1


print(main())

Submission status: Accepted

Solution code:
S = input()

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

if S == lst[0]:
    print(lst[1])

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

Submission status: Accepted

Solution code:
INT = lambda: int(input())
INTM = lambda: map(int,input().split())
STRM = lambda: map(str,input().split())
STR = lambda: str(input())
LIST = lambda: list(map(int,input().split()))
LISTS = lambda: list(map(str,input().split()))
def do():
    s=STR()
    if s=='Sunny':
        print('Cloudy')
    elif s=='Cloudy':
        print('Rainy')
    else:
        print('Sunny')
if __name__ == '__main__':
    do()

Submission status: Accepted

Solution code:
x = input()

a,b,c ='Sunny', 'Cloudy', 'Rainy'

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

Submission status: Accepted

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

Submission status: Accepted

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


if __name__ == '__main__':
    main()

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:
import sys

if sys.platform =='ios':
	sys.stdin=open('Untitled.txt')
input = sys.stdin.readline
def INT(): return int(input())
def MAP(): return [int(s) for s in input().split()]

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

Submission status: Accepted

Solution code:
import sys
input = sys.stdin.readline
s=input().strip()
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')
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()

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

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

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:
def main():
	# a,b,k = map(int,input().split())
	# n,k = map(int,input().split())
	n = str(input())
	# a = list(map(int,input().split()))
	# rsp = list(str(input()))
	# l = [list(map(int, input().split())) for _ in range(5)]
	# s = list(s)
	l = ['Sunny', 'Cloudy', 'Rainy']

	if n == l[0]:
		print(l[1])
	if n == l[1]:
		print(l[2])
	if n == l[2]:
		print(l[0])

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
str = input()

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

ans_index = weather.index(str)

ans = weather[ans_index+1]

print(ans)

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
days = {
    "S": "Cloudy",
    "C": "Rainy",
    "R": "Sunny"
}

print(days[input()[0]])

Submission status: Accepted

Solution code:
S = input()
list = {'Sunny':1, 'Cloudy':2, 'Rainy':3}
K = {1:'Cloudy',2:'Rainy',3:'Sunny'}
A = list[S]
print(K.get(A))

Submission status: Accepted

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

Submission status: Accepted

Solution code:
S = input()

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

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

Submission status: Accepted

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

print(a[([i for i in range(3) if a[i] == b][0] + 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 == "Rainy":
  print("Sunny")
elif S == "Cloudy":
  print("Rainy")
else:
  print("Cloudy")

Submission status: Accepted

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

print(W[W.index(S)+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:
dict = {"Sunny":1, "Cloudy":2, "Rainy":3}
A = input()
B = dict[A]
if B == 1:
    print("Cloudy")
elif B == 2:
    print("Rainy")
elif B == 3:
    print("Sunny")

Submission status: Accepted

Solution code:
# -*- coding: utf-8 -*-
 
import math
import itertools
import sys
import copy
 
# 入力
#N, W = map(int, input().split())
S = str(input())

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

Submission status: Accepted

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

S = input()

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

Submission status: Accepted

Solution code:
S = input()

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

print(W[S])

Submission status: Accepted

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

Submission status: Accepted

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

for idx, w in enumerate(L):
    if S == w:
        print(L[(idx + 1) % 3])
        exit()

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()
d = {}
d["Cloudy"] = "Rainy"
d["Rainy"] = "Sunny"
d["Sunny"] = "Cloudy"
print(d[s])

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

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().strip()
S = ['Sunny', 'Cloudy', 'Rainy']
N = ['Cloudy', 'Rainy', 'Sunny']

print(N[S.index(s)])

Submission status: Accepted

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

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()
s_list=("Sunny","Cloudy","Rainy","Sunny")
tom = s_list.index(s)+1
print(s_list[tom])

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

Solution code:
s = str(input())

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

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

Submission status: Accepted

Solution code:
input_wtr = str(input())
wtr = ['Sunny','Cloudy','Rainy']

if input_wtr == wtr[-1]:
    print(wtr[0])
else:
    print(wtr[wtr.index(input_wtr)+1])

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

S=input()

index=weather.index(S)

if index==2:
  print(weather[0])
else:
  print(weather[index+1])

Submission status: Accepted

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

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

print(forecast[weather])

Submission status: Accepted

Solution code:
import sys

a = input()

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

Submission status: Accepted

Solution code:
from sys import stdin

a = stdin.readline().rstrip()

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

Submission status: Accepted

Solution code:
S=input().strip()
lst=['Sunny','Cloudy','Rainy']
for i,s in enumerate(lst):
    if S==s:
        if i==2:
            print(lst[0])
        else:
            print(lst[i+1])

Submission status: Accepted

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

Submission status: Accepted

Solution code:
s = input()

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

print(haps[s])

Submission status: Accepted

Solution code:
S = input()
listw = [ "Sunny", "Cloudy", "Rainy" ]
ind = listw.index( S )
if ind == 2 : 
   ind = -1
print( listw[ind+1] )

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
S = str(input())

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
S = str(input())

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

Submission status: Accepted

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

a = w.index(S)
if a == 2:
  a = -1

print(w[a+1])

Submission status: Accepted

Solution code:
#ABC141-A Weather Prediction
S = input()
weather = ['Sunny','Cloudy','Rainy']
print(weather[(weather.index(S) + 1) % 3])

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

s = input()

ind = 0
for t in  l:
  ind += 1
  if s == t:
    break
ind %= 3
print(l[ind])

Submission status: Accepted

Solution code:
S = str(input())

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

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

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

else:
    print('Error')

Submission status: Accepted

Solution code:
a = str(input())

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

Submission status: Accepted

Solution code:
# coding: utf-8

S = input()

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

Submission status: Accepted

Solution code:
#coding: utf-8

S = input()

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

Submission status: Accepted

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

S = str(input())
W = ['Sunny', 'Cloudy', 'Rainy']

print(W[(W.index(S) + 1) % len(W)])

Submission status: Accepted

Solution code:
s = str(input())

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
s=input()

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

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
weather = input()

list = {"Sunny":"Cloudy", "Cloudy":"Rainy","Rainy":"Sunny"}
print(list[weather])

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
import sys
def input(): return sys.stdin.readline().rstrip()

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:
import sys

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

Submission status: Accepted

Solution code:
s = input()

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

print(dic[s])

Submission status: Accepted

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


def solve(S: str):
    obj = {
        "Sunny": "Cloudy",
        "Cloudy": "Rainy",
        "Rainy": "Sunny"
    }
    print(obj[S])
    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:
w = input()
if w == "Sunny":
    print("Cloudy")
if w == "Cloudy":
    print("Rainy")
if w == "Rainy":
    print("Sunny")

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
S = input()

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

i = weathers.index(S)
i = (i + 1) % 3

print(weathers[i])

Submission status: Accepted

Solution code:
# Weather Prediction
S = input()
tenki = ['Sunny', 'Cloudy', 'Rainy']
tomorrow = ((tenki.index(S) + 1) % 3)
print(tenki[tomorrow])

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

print(weathers.get(S))