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 = str(input())
we = ["Sunny","Cloudy","Rainy"]
ans = 0
for i in range(3):
  if(we[i]==s):
    ans = i
    break
print(we[(i+1)%3])

Submission status: Accepted

Solution code:
s = input()

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
li=["Sunny","Cloudy","Rainy"]
s=input()
if s=="Rainy":
    print("Sunny")
    exit()
elif s=="Cloudy":
    print("Rainy")
    exit()
else:
    print("Cloudy")

Submission status: Accepted

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

Submission status: Accepted

Solution code:
Weather_S = input()

if Weather_S == 'Sunny':
    print('Cloudy')
elif Weather_S == 'Cloudy':
    print('Rainy')
elif Weather_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')
else:
    print('IDK')

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
S = input()

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

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

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
# Sunny -> Cloudy -> Rainy -> Sunny ...
# 標準入力は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:
# 周期的にループする明日の天気を予測してください

# ループする関数がわからんかったから調べた
# 結果　ループする必要なし

# for (変数名）in (イテラブル）:
#    （コードブロック）

today = input ()

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

Submission status: Accepted

Solution code:
#141A

#1.入力をちゃんと受け取ること
b=input()
#2.結果を出力する
if b=='Sunny' :
    print('Cloudy')
elif b=='Rainy':
    print('Sunny')
elif b=='Cloudy':
    print('Rainy')

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

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:
# A,weather Prediction
# 高橋くんの住む街の天気は、一日ごとに晴れ（'Sunny'）くもり（'Cloudy'）、雨（'Rainy'）、くもり、雨と周期的に変化します。
# 今日の天気を表す文字列Sが与えられるので、明日の天気の予想をしてください。

# Sは、'Sunny','Cloudy','Rainy'のいずれかである

S = str(input())

# 明日の天気と同じ形式で出力せよ。

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

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

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

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

Submission status: Accepted

Solution code:
# 141A

#　S(天気）：標準入力
S = input()

# Sは Sunny, Cloudy, Rainy のいずれか
# Sは今日の天気であり、周期的に晴れ、くもり、雨の順に変化する

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

Submission status: Accepted

Solution code:
S = input()

# 一日ごとに晴れ（Sunny)、曇り(Cloudy)、雨(Rainy)の周期

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

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

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

Submission status: Accepted

Solution code:
S = input()

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

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

if __name__ == "__main__":
    main()

Submission status: Accepted

Solution code:
S = input()

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

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

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

Submission status: Accepted

Solution code:
S = input()

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

print(answer)

Submission status: Accepted

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

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

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:
# 問題：https://atcoder.jp/contests/abc141/tasks/abc141_a

import sys

weather = ['Sunny', 'Cloudy', 'Rainy']
s = input()
if weather.count(s) < 1:
    sys.exit()
current_index = weather.index(s)
next_index = (current_index + 1) % 3
print(weather[next_index])

Submission status: Accepted

Solution code:
# 問題：https://atcoder.jp/contests/abc141/tasks/abc141_a

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

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

print(ans)

Submission status: Accepted

Solution code:
# A - Weather Prediction

# ある町の天気は晴れ→曇り→雨→晴れ…と周期的に変化する
# 入力された今日の天気から明日の天気を出力する


S = str(input())

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

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

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

Submission status: Accepted

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

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

    for i in range(len(lst)):
        if S == lst[i]:
            ans = lst[i + 1]
            break

    print(ans)


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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
# A - Weather Prediction
# https://atcoder.jp/contests/abc141/tasks/abc141_a

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':
    answer = 'Cloudy'
elif S == 'Cloudy':
    answer = 'Rainy'
elif S == 'Rainy':
    answer = 'Sunny'
else:
    answer = '入力間違い【Sunny】【Cloudy】【Rainy】を入力'

print(answer)

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

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

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

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
s = input()

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

Submission status: Accepted

Solution code:
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 == 'Rainy':
    print('Sunny')

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

tenki = input()

if tenki == 'Sunny':
    print('Cloudy')
elif tenki == 'Cloudy':
    print('Rainy')
elif tenki =='Rainy':
    print('Sunny')
else:
    print("正しい天気を入力してください")

Submission status: Accepted

Solution code:
weather = input()

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

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

if weather == '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:
# A - Weather Prediction

S = input()

if S == 'Sunny':
    print('Cloudy')
elif S == 'Rainy':
    print('Sunny')
elif S == 'Cloudy':
    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:
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:
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")
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:
def main():
    s = input()
    weather = ("Sunny", "Cloudy", "Rainy")
    index = (weather.index(s) + 1) % 3
    print(weather[index])

main()

Submission status: Accepted

Solution code:
#Weather Prediction 141
#一日ごとにSunny、Cloudy、Rainy
#Sは Sunny, Cloudy, Rainy のいずれかである

S = input('')
print()

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
# abc141_a
# 明日の天気を出力しなさい

S = input()

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

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

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

Submission status: Accepted

Solution code:
#   AtCoder abc141 a

#   入力
s = input()

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

Submission status: Accepted

Solution code:
# 一日ごとに晴れ(Sunny)、くもり(Cloudy)、雨(Rainy)と周期的に変化
# 今日の天気を表す文字列 S が与えられるので、明日の天気を予測
# 制約: Sは Sunny, Cloudy, Rainy のいずれか

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')
else:
    print('入力に誤りがあります。Sunny,Cloudy,Rainyのいずれかを入力してください。')

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
# 141a(A - Weather Prediction)
# 問題文
# 高橋君の住む町の天気は、
# 一日ごとに晴れ(Sunny)、くもり(Cloudy)、雨(Rainy)、晴れ、くもり、雨、… と周期的に変化します。
# 今日の天気を表す文字列 S が与えられるので、明日の天気を予測してください。
#
# 制約: S は Sunny, Cloudy, Rainy のいずれかである

# 入力: 入力は以下の形式で標準入力から与えられる。
# S
# 出力: 明日の天気を入力と同じ形式で出力せよ。

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
S = input()

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

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

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
# 141a https://atcoder.jp/contests/abc141/tasks/abc141_a

# 入力
S = input()
# 処理
if S == 'Sunny':
    answer = 'Cloudy'
elif S == 'Cloudy':
    answer = 'Rainy'
elif S == 'Rainy':
    answer = 'Sunny'
else:
    answer = '入力値エラー'
# 出力
print(answer)

Submission status: Accepted

Solution code:
import sys
input = lambda : sys.stdin.readline().rstrip()
sys.setrecursionlimit(max(1000, 10**9))
write = lambda x: sys.stdout.write(x+"\n")


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

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

Submission status: Accepted

Solution code:
# 入力の取得
S = input()

# 入力内容から次の天気を予測
if S == "Sunny":
    print("Cloudy")
elif S == "Cloudy":
    print("Rainy")
elif S == "Rainy":
    print("Sunny")
else:
    print("入力内容が間違っています。")

Submission status: Accepted

Solution code:
# 高橋君の住む町の天気は、一日ごとに晴れ(Sunny)、くもり(Cloudy)、雨(Rainy)、晴れ、くもり、雨、… と周期的に変化します。
# 今日の天気を表す文字列 S が与えられるので、明日の天気を予測してください。

# 標準入力から明日の天気を表す文字列 S を取得する
today_weather = input()
tommorow_weather = 'I do not know. Sorry!!'

# 取得した入力 S を条件に従い出力する。
if today_weather == 'Sunny':
    tommorow_weather = 'Cloudy'
elif today_weather == 'Cloudy':
    tommorow_weather = 'Rainy'
elif today_weather == 'Rainy':
    tommorow_weather ='Sunny'

print(tommorow_weather)

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

# 今日の天気から明日の天気をSunny,Cloudy,Rainyの周期で予測して出力
if today_weather == "Sunny":
    print("Cloudy")
elif today_weather == "Cloudy":
    print("Rainy")
else:
    print("Sunny")

Submission status: Accepted

Solution code:
# 141A
# 天気予報
# 入力値　Sunny, Cloudy, Rainy

# 入力
s = str(input())

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

Submission status: Accepted

Solution code:
# 明日の天気を予測してください
S = input()

if S == 'Sunny':
    print('Cloudy')
elif S == 'Cloudy':
    print('Rainy')
elif S == 'Rainy':
    print('Sunny')
else:
    print('明日の天気を予測できませんでした。')

Submission status: Accepted

Solution code:
# 141a

Weather_today = input() # 天気を入力

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

Submission status: Accepted

Solution code:
weather=input()

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

Submission status: Accepted

Solution code:
s=input()


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

Submission status: Accepted

Solution code:
# ABC141
# 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':
    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')

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

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

Submission status: Accepted

Solution code:
# 入力
S = input('')

# SがSunnyならCloudy、CloudyならRainy、RainyならSunnyと出力する
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')
if S == 'Cloudy':
    print('Rainy')
if S == 'Rainy':
    print('Sunny')

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

print(di[input()])

Submission status: Accepted

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

Submission status: Accepted

Solution code:
weather = "Sunny""Cloudy""Rainy"
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()   #Sを天気にアサインする

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
from sys import stdin
import sys
import math
from functools import reduce
import functools
import itertools
from collections import deque,Counter,defaultdict
from operator import mul
import copy
# ! /usr/bin/env python
# -*- coding: utf-8 -*-
import heapq
sys.setrecursionlimit(10**6)
# INF =  float("inf")
INF = 10**18
import bisect
import statistics
mod = 10**9+7
# mod = 998244353
import numpy

S  = input()

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

Submission status: Accepted

Solution code:
# A - Weather Prediction
# 1日毎に　晴れ（Sunny） 曇り（Cloudy） 雨（Rainy） の順に変化する
# 晴 → 曇 → 雨 → 晴 → 曇 → 雨 → ...

# 文字列 S の入力
S = input()
# print(S)

# 明日の天気を表示させる
# 今日の天気で分岐し、printで表示
if S == 'Sunny':
    # print('Cloudy')
    answer = 'Cloudy'
elif S == 'Cloudy':
    # print('Rainy')
    answer = 'Rainy'
elif S == 'Rainy':
    # print('Sunny')
    answer = 'Sunny'

print(answer)

Submission status: Accepted

Solution code:
import sys, bisect, math, itertools, string, queue, copy
# import numpy as np
# import scipy
# from collections import Counter,defaultdict,deque
# from itertools import permutations, combinations
# from heapq import heappop, heappush
# # input = sys.stdin.readline
# sys.setrecursionlimit(10**8)
# mod = 10**9+7
def inp(): return int(input())
def inpm(): return map(int,input().split())
def inpl(): return list(map(int, input().split()))
def inpls(): return list(input().split())
def inplm(n): return list(int(input()) for _ in range(n))
def inplL(n): return [list(input()) for _ in range(n)]
def inplT(n): return [tuple(input()) for _ in range(n)]
def inpll(n): return [list(map(int, input().split())) for _ in range(n)]
def inplls(n): return sorted([list(map(int, input().split())) for _ in range(n)])

s = input()
l = ['Sunny', 'Cloudy','Rainy']
i = l.index(s)
if(i == 2):
    print('Sunny')
else:
    print(l[i + 1])

Submission status: Accepted

Solution code:
# A - Weather Prediction
# 1日毎に　晴れ（Sunny） 曇り（Cloudy） 雨（Rainy） の順に変化する
# 晴 → 曇 → 雨 → 晴 → 曇 → 雨 → ...

# 文字列 S の入力
S = input()
# print(S)

# 明日の天気を表示させる
# 今日の天気で分岐し、printで表示
if S == 'Sunny':
    print('Cloudy')
elif S == 'Cloudy':
    print('Rainy')
elif S == 'Rainy':
    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()

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

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

else:
    print('Sunny')

Submission status: Accepted

Solution code:
# 141A

S = input()
# print(S)

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

Submission status: Accepted

Solution code:
today_weather = input()

if today_weather == 'Sunny':
    tomorrow_weather = 'Cloudy'
    print(tomorrow_weather)

elif today_weather == 'Cloudy':
    tomorrow_weather = 'Rainy'
    print(tomorrow_weather)

elif today_weather == 'Rainy':
    tomorrow_weather = 'Sunny'
    print(tomorrow_weather)

Submission status: Accepted

Solution code:

# 入力
S = input()

# 処理&出力
if S == 'Sunny':
    print('Cloudy')
elif S == 'Cloudy':
    print('Rainy')
elif S == 'Rainy':
    print('Sunny')
else:
    print('IDK')

Submission status: Accepted

Solution code:
#一日ごとにSunny・Cloudy・rainy
#今日の天気S。明日の天気予想

#S＝Sunny.Cloudy.Rainy

S=input('')
print()

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

Submission status: Accepted

Solution code:
S = input()
#print(S)

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

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
S = input()

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

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

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

Submission status: Accepted

Solution code:

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


if __name__ == "__main__":
    main()

Submission status: Accepted

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

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:
#!/usr/bin/env python3

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

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
a = input()
mylist = ['Sunny', 'Cloudy', 'Rainy', 'Sunny']

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

Submission status: Accepted

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

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

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:
from sys import stdin,stdout
def INPUT():return list(int(i) for i in stdin.readline().split())
def inp():return stdin.readline()
def out(x):return stdout.write(x)
import math
###############################################################################\
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[0]=='S':
    print('Cloudy')
elif s[0]=='C':
    print('Rainy')
else:
    print('Sunny')

Submission status: Accepted

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

Submission status: Accepted

Solution code:
weather = {"Rainy":"Sunny", "Sunny":"Cloudy", "Cloudy":"Rainy"}
print(weather[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:
# -*- coding: utf-8 -*-

s = input()

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

cast = {'Sunny':1, 'Cloudy':2, 'Rainy':0}

print(w[cast[s]])

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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