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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
today = input()
tenkis = ['Sunny', 'Cloudy', 'Rainy']
tom = tenkis[(tenkis.index(today) + 1) % len(tenkis)]
print(tom)

Submission status: Accepted

Solution code:
"""
N = int(input())
A, B = map(int,input().split())
A = list(map(int,input().split())) ## 横一列
A = [int(input()) for _ in range(N)] ## 縦一列
lst = [list(map(int,input().split())) for i in range(M)] ## 二次元
"""

S = input()

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

Submission status: Accepted

Solution code:
S = input()

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


for i, w in enumerate(Weathers):
    if w == S:
        if len(Weathers) == i+1:
            print(Weathers[0])
        else:
            print(Weathers[i+1])

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

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

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
s=input()

tenki=["Sunny","Cloudy","Rainy"]
ans=0
for i in range(3):
    if(s==tenki[i]):
        ans=(i+1)%3
print(tenki[ans])

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

# In[1]:


S = input()


# In[2]:


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


# In[3]:


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


# In[ ]:

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

Submission status: Accepted

Solution code:
wea= input()

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

Submission status: Accepted

Solution code:
N = input()
ret = "Sunny"
if N == "Sunny":
  ret = "Cloudy"
elif N == "Cloudy":
  ret = "Rainy"

print(ret)

Submission status: Accepted

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

Submission status: Accepted

Solution code:
today=str(input())
tenki=["Sunny","Cloudy","Rainy"]
for i in range(3):
     if tenki[i]==today:
          print(tenki[i-2])

Submission status: Accepted

Solution code:
# coding:utf-8
sdict={'Sunny':'Cloudy', 'Cloudy':'Rainy', 'Rainy':'Sunny'}

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

Submission status: Accepted

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

Submission status: Accepted

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

if s == 'Sunny' or s == 'Cloudy':
    print(l[l.index(s) + 1])
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:
s=input()
d={'Sunny':'Cloudy','Cloudy':'Rainy','Rainy':'Sunny'}
print(d[s])

Submission status: Accepted

Solution code:
import random

w = input()

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
# -*- coding: utf-8 -*-
from copy import deepcopy


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:
today = input()
tommorow = ''
weather_list = ['Sunny', 'Cloudy', 'Rainy']

if today == weather_list[0]:
    tommorow = weather_list[1]
elif today == weather_list[1]:
    tommorow = weather_list[2]
elif today == weather_list[2]:
    tommorow = weather_list[0]

print(tommorow)

Submission status: Accepted

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

Submission status: Accepted

Solution code:
s="Sunny"
c="Cloudy"
r="Rainy"
n=input()

if n==s:
    print(c)
elif n==c:
    print(r)
else:
    print(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:
#!/usr/bin/env python
# -*- coding: utf-8 -*-

S = input()

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

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

Submission status: Accepted

Solution code:
S = input()

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

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

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

print(m[s])

Submission status: Accepted

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

main()

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

Submission status: Accepted

Solution code:
weather = ['Sunny', 'Cloudy', 'Rainy']
dic = {'Sunny': 0, 'Cloudy': 1, 'Rainy': 2}

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

Submission status: Accepted

Solution code:
s = input()

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

Submission status: Accepted

Solution code:
S = input()

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

Submission status: Accepted

Solution code:
import sys
input = sys.stdin.readline
sys.setrecursionlimit(10 ** 7)

S = input().rstrip()

w = ['Sunny','Cloudy','Rainy']
w += w
change = {x:y for x,y in zip(w,w[1:])}

answer = change[S]
print(answer)

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

S = input()

if S == "Sunny":
    print("Cloudy")
    sys.exit()

if S == "Cloudy":
    print("Rainy")
    sys.exit()

if S == "Rainy":
    print("Sunny")
    sys.exit()

Submission status: Accepted

Solution code:
import sys
sys.setrecursionlimit(5 * 10**5)
input=sys.stdin.readline

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

S = input().rstrip()

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
S = input()

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

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
str = input()

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

Submission status: Accepted

Solution code:
S = input()

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
today = input()

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

print(nextday[today])

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

Submission status: Accepted

Solution code:
s = input()

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

index_today = weather.index(s)

ans = weather[(index_today + 1) % len(weather)]

print(ans)

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
from sys import stdin


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

Submission status: Accepted

Solution code:
import sys
N = input()
weather = {'Sunny':0, 'Cloudy':1, 'Rainy':2}
weather_list = ['Sunny', 'Cloudy', 'Rainy']
next_day = (weather[N]+1)%3
#A = [int(x) for x in input().split()]
print(weather_list[next_day])

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
S=input()

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
ans = {'s':'Cloudy', 'c': 'Rainy', 'r':'Sunny'}
key = input()[0].lower()
print(ans[key])

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

print(S)

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
W1 = {'Sunny': 0, 'Cloudy': 1, 'Rainy': 2}
W2 = ('Sunny', 'Cloudy', 'Rainy')
while True:
    try:
        S = input()
        t = W1[S]
        t += 1
        if t > 2:
            t = 0
        print(W2[t])
    except EOFError:
        break

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 = input().strip()

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


idx = weather.index(S) + 1
if idx >= len(weather):
    print(weather[0])
else:
    print(weather[idx])

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

Submission status: Accepted

Solution code:
#!/usr/bin/env python

from collections import deque, defaultdict
import itertools as ite
import sys
import math
import decimal

sys.setrecursionlimit(1000000)

INF = 10 ** 18
MOD = 10 ** 9 + 7

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

Submission status: Accepted

Solution code:
def main():
    s = input()
    if s == 'Sunny':
        print('Cloudy')
    elif s == 'Cloudy':
        print('Rainy')
    else:
        print('Sunny')
    return 0;

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[-3:] == "nny":
	print("Cloudy")
elif s[-3:] == "udy":
	print("Rainy")
else:
	print("Sunny")

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

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:
import sys
from collections import defaultdict, deque


def main():
    S = input()
    t = ['Sunny', 'Cloudy', 'Rainy']
    if S == t[0]:
        print(t[1])
    elif S == t[1]:
        print(t[2])
    else:
        print(t[0])


if __name__ == '__main__':
    main()

Submission status: Accepted

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

Submission status: Accepted

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

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

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

Submission status: Accepted

Solution code:
S = input()

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

Submission status: Accepted

Solution code:
import sys,collections as cl,bisect as bs
sys.setrecursionlimit(100000)
mod = 10**9+7
Max = sys.maxsize
def l(): #intのlist
    return list(map(int,input().split()))
def m(): #複数文字
    return map(int,input().split())
def onem(): #Nとかの取得
    return int(input())
def s(x): #圧縮
    a = []
    aa = x[0]
    su = 1
    for i in range(len(x)-1):
        if aa != x[i+1]:
            a.append([aa,su])
            aa = x[i+1]
            su = 1
        else:
            su += 1
    a.append([aa,su])
    return a
def jo(x): #listをスペースごとに分ける
    return " ".join(map(str,x))
def max2(x): #他のときもどうように作成可能
    return max(map(max,x))
def In(x,a): #aがリスト(sorted)
    k = bs.bisect_left(a,x)
    if k != len(a) and a[k] ==  x:
        return True
    else:
        return False

s = input()

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

Submission status: Accepted

Solution code:
s = str(input())

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

Submission status: Accepted

Solution code:
whether = {"Sunny":1, "Cloudy":2, "Rainy":0}
whetherl = ["Sunny", "Cloudy", "Rainy"]
S = input()

print(whetherl[whether[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:
T = ['Sunny', 'Cloudy', 'Rainy']
today = input()
print(T[(T.index(today)+1) % len(T)])

Submission status: Accepted

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

s = input().rstrip()

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

Submission status: Accepted

Solution code:
def main():
    wt = { "Sunny" : "Cloudy", "Cloudy" : "Rainy", "Rainy" : "Sunny" }
    print(wt[input()])
    return 0

if __name__ == "__main__":
    main()

Submission status: Accepted

Solution code:
from collections import defaultdict, deque, Counter
from heapq import heappush, heappop, heapify
import math
import bisect
import random
from itertools import permutations, accumulate, combinations
import sys
import string
from bisect import bisect_left, bisect_right
from math import factorial, ceil, floor
from functools import reduce



INF = float('inf')
def LI(): return list(map(int, sys.stdin.readline().split()))
def I(): return int(sys.stdin.readline())
def LS(): return sys.stdin.readline().split()
def S(): return sys.stdin.readline().strip()
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)]
def SRL(n): return [list(S()) for i in range(n)]
def MSRL(n): return [[int(j) for j in list(S())] for i in range(n)]
mod = 1000000007


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

Submission status: Accepted

Solution code:
text = input()

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

Submission status: Accepted

Solution code:
S=input()
if S=="Sunny":
  print("Cloudy")
elif S=="Cloudy":
  print("Rainy")
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:
# coding: utf-8
# Your code here!
S = input()
if S == "Sunny":
    print("Cloudy")
if S == "Cloudy":
    print("Rainy")
if S == "Rainy":
    print("Sunny")

Submission status: Accepted

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

if(s==li[0]):
    print(li[1])
elif(s==li[1]):
    print(li[2])
elif(s==li[2]):
    print(li[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:
#!/usr/bin/python3
# -*- coding: utf-8 -*-


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

Submission status: Accepted

Solution code:

S=input()

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

print(result)

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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


S = input().strip()

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
S = input()

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

Submission status: Accepted

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

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

Submission status: Accepted

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


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:
import sys
sys.setrecursionlimit(100000)

def ins(): return input().split()
def ii(): return int(input())
def iil(): return list(map(int,ins()))
def lin(): return list(input())
def iin(): return map(int,ins())

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

Submission status: Accepted

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

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

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
sin = input()
ten = ['Sunny', 'Cloudy', 'Rainy']

if sin == 'Sunny':
    print(ten[1])

elif sin == 'Cloudy':
    print(ten[2])

else:
    print(ten[0])

Submission status: Accepted

Solution code:
import sys


def main():
    prev = sys.stdin.readline().strip()
    ans = ''
    if prev == 'Sunny':
        ans = 'Cloudy'
    elif prev == 'Cloudy':
        ans = 'Rainy'
    else:
        ans = 'Sunny'

    print(ans)


main()

Submission status: Accepted

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

Submission status: Accepted

Solution code:
import sys
def input(): return sys.stdin.readline().strip()
def INT(): return int(input())
def MAP(): return map(int, input().split())
def LIST(): return list(map(int, input().split()))
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':
    result = 'Cloudy'
elif S == 'Cloudy':
    result = 'Rainy'
elif S == 'Rainy':
    result = 'Sunny'

print(result)

Submission status: Accepted

Solution code:
import sys
import math
from fractions import gcd
# import queue
# from collections import Counter
# from itertools import accumulate
# from functools import reduce

def lcm(a, b):
    return a * b // gcd(a, b)

def combination_count(n, r):
    return math.factorial(n) // (math.factorial(n - r) * math.factorial(r))

def permutations_count(n, r):
    return math.factorial(n) // math.factorial(n - r)

big_prime = 1000000007

"""
# 標準入力取得
## 文字列
 =  sys.stdin.readline().rstrip()
 =  list(sys.stdin.readline().rstrip())

## 数値
 =  int(sys.stdin.readline())
 =  map(int, sys.stdin.readline().split())
 =  list(map(int, sys.stdin.readline().split()))
 =  [list(map(int,list(sys.stdin.readline().split()))) for i in range(N)]
"""

S = sys.stdin.readline().rstrip()
ans = ''

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

print(ans)

Submission status: Accepted

Solution code:
import logging

logging.basicConfig(level=logging.INFO, format="%(message)s")
#logging.disable(logging.CRITICAL)

def main():
    S_s = ["Sunny", "Cloudy", "Rainy"]
    S = input()
    logging.info("Hello!")

    if S == S_s[0]:
        print(S_s[1])
    elif S == S_s[1]:
        print(S_s[2])
    elif S == S_s[2]:
        print(S_s[0])
        
    
if __name__ == "__main__":
    main()

Submission status: Accepted

Solution code:
currents = ["Sunny", "Cloudy", "Rainy"]
predicted = ["Cloudy", "Rainy", "Sunny"]

print(predicted[currents.index(input().strip())])
exit(0)

Submission status: Accepted

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

def ans() :

    s = input()

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



if __name__ == '__main__':
    ans()

Submission status: Accepted

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

Submission status: Accepted

Solution code:
# -*- 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()
d = {'Sunny': 'Cloudy', 'Cloudy': 'Rainy',  'Rainy': 'Sunny'}

if S in d:
    print(d[S])