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:
import math
import heapq
from bisect import bisect_right, bisect_left
from collections import defaultdict, Counter
import itertools
import sys
sys.setrecursionlimit(10**7)
MOD = 10**9 + 7
INF = float("inf")


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

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

Submission status: Accepted

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

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:
import copy
# a, b = map(int,input().split())

# n,k = map(int,input().split())
# n = int(input())
# b_l = list(map(int,input().split()))
s = input()

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

Submission status: Accepted

Solution code:
tenki = ['Sunny', 'Cloudy', 'Rainy']
S = input()
index = tenki.index(S)
print(tenki[(index + 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:
import sys
input = sys.stdin.readline

def main():
    S = input()
    if S[0] == "S":
        ans = "Cloudy"
    elif S[0] == "C":
        ans = "Rainy"
    else:
        ans = "Sunny"
    print(ans)

if __name__ == '__main__': main()

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

Solution code:
S = input()

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

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

Submission status: Accepted

Solution code:
s = input()

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

Submission status: Accepted

Solution code:
from sys import stdin

def main():
    input = lambda: stdin.readline()[:-1]
    S = input()

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

main()

Submission status: Accepted

Solution code:
s = input()

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
S = input()

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

for index,value in enumerate(arr):
    if value == S:
        print(arr[index+1])
        break

Submission status: Accepted

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

Submission status: Accepted

Solution code:
S = 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 = input()

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

print(ans)

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
a = ['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:
today = input()
# result = [ int(x) for x in input().split()]


sun = 'Sunny'
clo = 'Cloudy'
rain = 'Rainy'

if today == sun:
    print(clo)
elif today == clo:
    print(rain)
elif today == rain:
    print(sun)

Submission status: Accepted

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

Submission status: Accepted

Solution code:
# coding:utf-8
def main():
    a = input()
    b = ['Sunny', 'Cloudy', 'Rainy']

    if a == b[0]:
        print(b[1])
    elif a == b[1]:
        print(b[2])
    else:
        print(b[0])


if __name__ == '__main__' :
    main()

Submission status: Accepted

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

Submission status: Accepted

Solution code:
import sys
INPUT = lambda: sys.stdin.readline().rstrip()
sys.setrecursionlimit(10 ** 9)


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:
inpl = lambda: list(map(int,input().split()))
weather = ['Sunny', 'Cloudy', 'Rainy']
num = dict()
for i in range(3):
    num[weather[i]] = i

S = input()
print(weather[(num[S]+1)%3])

Submission status: Accepted

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

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

Submission status: Accepted

Solution code:
asdf={"Sunny":0,"Cloudy":1,"Rainy":2}
a=asdf[input()]
a+=1
if a>2:
  a=0
print([k for k, v in asdf.items() if v == a][0])

Submission status: Accepted

Solution code:
n = str(input())
a = ["Sunny", "Cloudy", "Rainy"]
b = [1, 2, 0]
print(a[b[a.index(n)]])

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

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

Submission status: Accepted

Solution code:
if __name__ == '__main__':
    import sys
    input = sys.stdin.readline



    n = str(input()[:-1])

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
import sys


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


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':
    ans = 'Cloudy'
elif S == 'Cloudy':
    ans = 'Rainy'
elif S == 'Rainy':
    ans ='Sunny'

print (ans)

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

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

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

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

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
# A

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

Submission status: Accepted

Solution code:
s = input()
def nextW(s):
    sunny = "Sunny"
    cloudy = "Cloudy"
    rainy = "Rainy"
    if s == sunny:
        return cloudy
    elif s == cloudy:
        return rainy
    else:
        return sunny
print(nextW(s))

Submission status: Accepted

Solution code:
import sys

if sys.platform =='ios':
    sys.stdin=open('input_file.txt')
    
S=input()

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

Submission status: Accepted

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

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

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

    print(wether)

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
import heapq
import bisect

mod = 10**9+7
dd = ((-1,0),(1,0),(0,-1),(0,1))

def I(): return(int(sys.stdin.readline()))
def LI(): return([int(x) for x in sys.stdin.readline().split()])
def S(): return((list(sys.stdin.readline()))[:-1])

def GCD(a,b):
    while b!=0:
        a,b = b,a%b
    return a

def LCM(a,b):
    return a * b // GCD(a,b)

def main():
    s = input()
    if s == "Sunny":
        return "Cloudy"
    if s == "Cloudy":
        return "Rainy"
    if s == "Rainy":
        return "Sunny"

if __name__ == "__main__":
    print(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:
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()
data = ['Sunny','Cloudy','Rainy']

index = data.index(s)

print(data[(index+1)%3])

Submission status: Accepted

Solution code:
sarr = {'Sunny':'Cloudy','Cloudy':'Rainy','Rainy':'Sunny'}
s = input()

print(sarr[s])

Submission status: Accepted

Solution code:
S = input()

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

Submission status: Accepted

Solution code:
S = input()

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

Submission status: Accepted

Solution code:
s = input().rstrip();

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

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

Submission status: Accepted

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

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

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

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

main()

Submission status: Accepted

Solution code:
S = input()
tomorrow = dict()
tomorrow["Sunny"] = "Cloudy"
tomorrow["Cloudy"] = "Rainy"
tomorrow["Rainy"] = "Sunny"

print(tomorrow[S])

Submission status: Accepted

Solution code:
def main():
    S = str(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:
s = input()

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

Submission status: Accepted

Solution code:
s = input()

ans = "Sunny"

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

print(ans)

Submission status: Accepted

Solution code:
S = input()

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

Submission status: Accepted

Solution code:
a={}
a["Sunny"]="Cloudy"
a["Cloudy"]="Rainy"
a["Rainy"]="Sunny"

print(a[input()])

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

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

Solution code:
# input string
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")
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:
S = input()

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

Submission status: Accepted

Solution code:
S  = list(input())

a = S[0]

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

Submission status: Accepted

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

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

Submission status: Accepted

Solution code:
A=input()

S='Sunny'
C='Cloudy'
R='Rainy'

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

Submission status: Accepted

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

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

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

Submission status: Accepted

Solution code:
#!usr/bin/env python3
from collections import defaultdict,deque
from heapq import heappush, heappop
import sys
import math
import bisect
import random
def LI(): return [int(x) for x in sys.stdin.readline().split()]
def I(): return int(sys.stdin.readline())
def LS():return [list(x) for x in sys.stdin.readline().split()]
def S():
    res = list(sys.stdin.readline())
    if res[-1] == "\n":
        return res[:-1]
    return res
def IR(n):
    return [I() for i in range(n)]
def LIR(n):
    return [LI() for i in range(n)]
def SR(n):
    return [S() for i in range(n)]
def LSR(n):
    return [LS() for i in range(n)]

sys.setrecursionlimit(1000000)
mod = 1000000007

#A
def A():
    s = input()
    if s == "Sunny":
        print("Cloudy")
    elif s == "Cloudy":
        print("Rainy")
    else:
        print("Sunny")
    return

#B
def B():
    s = S()
    for i in range(len(s)):
        if i%2:
            if s[i] not in ["L","U","D"]:
                print("No")
                return
        else:
            if s[i] not in ["R","U","D"]:
                print("No")
                return
    print("Yes")
    return

#C
def C():

    return

#D
def D():

    return

#E
def E():

    return

#F
def F():

    return

#Solve
if __name__ == "__main__":
    A()

Submission status: Accepted

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

Submission status: Accepted

Solution code:
s = input()

su = 'Sunny'
cl = 'Cloudy'
ra = 'Rainy'

if s == su:
    ans = cl
elif(s == cl):
    ans = ra
elif(s == ra):
    ans = su

print(ans)

Submission status: Accepted

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

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

Submission status: Accepted

Solution code:
S = input()

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

Submission status: Accepted

Solution code:
s = input()

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

Submission status: Accepted

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

if __name__ == '__main__':
    main()

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

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:
# 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:
s = input()
if s == 'Sunny':
  ans = 'Cloudy'
elif s == 'Cloudy':
  ans = 'Rainy'
else:
  ans = 'Sunny'
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:
tenki = list(map(str, input().split()))
tenki_dict={"Sunny":"Cloudy", "Cloudy":"Rainy", "Rainy":"Sunny" }
print(tenki_dict[tenki[0]])

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:
S = {"Sunny":"Cloudy","Cloudy":"Rainy","Rainy":"Sunny"}

s = input()
print(S[s])

Submission status: Accepted

Solution code:
import sys

today = sys.stdin.readline().strip()
arr = ['Sunny', 'Cloudy', 'Rainy']

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
# -*- coding: utf-8 -*-
"""
Created on Sun Sep 15 20:35:57 2019

@author: Yamazaki Kenichi
"""

S = input()

w = ["Sunny", "Cloudy", "Rainy"]
if S == "Sunny":
    print(w[1])
elif S == "Cloudy":
    print(w[2])
else:
    print(w[0])

Submission status: Accepted

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

if __name__ == "__main__":
    main()

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
s=input()

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

S = input()
i = WEATHER.index(S)
if i == 2:
    print(WEATHER[0], end='')
else:
    print(WEATHER[i+1], end='')

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:
#!/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

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

if __name__ == '__main__':
    main()

Submission status: Accepted

Solution code:
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:
W = ("Sunny", "Cloudy", "Rainy", "Sunny")
S = input()

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

Submission status: Accepted

Solution code:
S = input()

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
s = str(input())

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

Submission status: Accepted

Solution code:
# coding=utf-8

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()
W = ['Sunny', 'Cloudy', 'Rainy']
for i, w in enumerate(W):
  if S == w:
    print(W[(i+1)%3])
    break

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

Submission status: Accepted

Solution code:
# 2019/09/15
# AtCoder Beginner Contest 141 - A

# Input
s = input()

# Calc
if s == "Sunny":
    ans = "Cloudy"
elif s == "Cloudy":
    ans = "Rainy"
elif s == "Rainy":
    ans = "Sunny"

# Output
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:
w = input()


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

print(d[w])

Submission status: Accepted

Solution code:

#N = int(input())
S = input()
#S = list(input())

#N,K=map(int,input().split())
#S=list(map(int,input().split()))


ans='Yes'

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




print(str(ans))

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

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')
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:
wether = {
    "Sunny": "Cloudy",
    "Cloudy": "Rainy",
    "Rainy": "Sunny"
}

print(wether[input()])

Submission status: Accepted

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

today = ws.index(S)
tmp = ws[(today + 1) % 3]
print(tmp)

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


def input(): return sys.stdin.readline().strip()


def main():
    S = input()
    if S == 'Sunny':
        ans = 'Cloudy'
    elif S == 'Cloudy':
        ans = 'Rainy'
    else:
        ans = 'Sunny'

    print(ans)


if __name__ == "__main__":
    main()

Submission status: Accepted

Solution code:
inp = input ()

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

if inp == 'Cloudy':
    print('Rainy')

if inp == 'Rainy':
    print('Sunny')