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: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
str = input()

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

Submission status: Wrong Answer

Solution code:
import sys
def main():
    input = sys.stdin.readline
    S = input()
    if S == "Sunny":
        print("Cloudy")
    elif S == "Cloudy":
        print("Rainy")
    elif S == "Rainy":
        print("Sunny")
if __name__ == '__main__':
    main()

Submission status: Wrong Answer

Solution code:
import sys

def main():
    N = sys.stdin.readline()
    if N == 'Sunny':
        print('Cloudy')
    elif N == 'Cloudy':
        print('Rainy')
    else:
        print('Sunny')

if __name__=='__main__':
    main()

Submission status: Wrong Answer

Solution code:
S = input()

s = "Sunny"
c = "Rainy"
r = "Rainy"

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

Submission status: Wrong Answer

Solution code:
s = str(raw_input())
w = ['Sunny', 'Cloudy', 'Rainy']
i = w[w.index(s)]
if i < 2:
    print(w[i]+1)
else:
    print(w[0])

Submission status: Wrong Answer

Solution code:
w = input()

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

tmp = d[w] + 1

res = [k for k,v in d.items() if v == tmp]
print(res)

Submission status: Wrong Answer

Solution code:
def _input():
    weather = input()
    return weather

def prediction(weather):
    weathers = ['Sunny', 'Cloudy', 'Rainy']
    counter = 0
    for i in weathers:
        if i == weather and i != 'Rainy':
            return weathers[counter + 1]
        else:
            return 'Sunny'
        counter += 1



if __name__ == "__main__":
    weather = _input()
    print(prediction(weather))

Submission status: Wrong Answer

Solution code:
S=input()

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

Submission status: Wrong Answer

Solution code:
import sys
input = sys.stdin.readline
 
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: Wrong Answer

Solution code:
s=input()
o=["R","U","D"]
e=["L","U","D"]
i=0
for t in range(len(s)):
  if(i==1):
    break
  if t%2==1:
    if(t not in o):
      print("No")
      i=1
  else:
    if(t not in e):
      print("No")
      i=1
if(i==0):
	print("Yes")

Submission status: Wrong Answer

Solution code:
S = list(str(input()))

# 奇数番目
odd = S[0::2]

# 偶数ばんめ
even = S[1::2]

if ('L' not in odd) & ('R' not in even):
    print('Yes')
else:
    print('No')

Submission status: Wrong Answer

Solution code:
import sys
S = sys.stdin.readline()
#L = ["Sunny", "Cloudy", "Rainy"]

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

Submission status: Wrong Answer

Solution code:
def _input():
    weather = input()
    return weather

def prediction(weather):
    weathers = ['Sunny', 'Cloudy', 'Rainy']
    counter = 0
    for i in weathers:
        if i == weather and i != 'Rainy':
            return weathers[counter + 1]
        else:
            return 'Sunny'



if __name__ == "__main__":
    weather = _input()
    print(prediction(weather))

Submission status: Wrong Answer

Solution code:
import sys

def read():
	return sys.stdin.readline().rstrip().split()

S = read()
if S[0][0] == "S":
	print("Cloudy")
elif S[0][1] == "C":
  	print("Rainy")
else:
  	print("Sunny")

Submission status: Wrong Answer

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

S = input().split()

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

Submission status: Wrong Answer

Solution code:
# -*- coding: utf-8 -*-
import sys
from operator import itemgetter
from fractions import gcd
from math import ceil, floor, sqrt
from copy import deepcopy
from collections import Counter, deque
import heapq
from functools import reduce
sys.setrecursionlimit(200000)
# local only
# if not __debug__:
#     fin = open('in_1.txt', 'r')
#     sys.stdin = fin
# local only
input = sys.stdin.readline
def ii(): return int(input())
def mi(): return map(int, input().rstrip().split())
def lmi(): return list(map(int, input().rstrip().split()))
def fi(): return float(input())
def mfi(): return map(float, input().rstrip().split())
def lmfi(): return list(map(float, input().rstrip().split()))
def li(): return list(input().rstrip())
def debug(*args, sep=" ", end="\n"): print("debug:", *args, file=sys.stderr, sep=sep, end=end) if not __debug__ else None
def exit(*arg): print(*arg); sys.exit()
# template


def main():
    return


if __name__ == '__main__':
    if not __debug__:
        import doctest
        doctest.testmod()
    main()

Submission status: Wrong Answer

Solution code:
a=input()
b=['Sunny','Cloudy','Rainy']*2
b[b.index(a)+1]

Submission status: Wrong Answer

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

weather = input().rstrip()
weathernum = weatherlist.index(weather)

tomorrownum = weathernum % 3

print(weatherlist[tomorrownum])

Submission status: Wrong Answer

Solution code:
str = input()

if str is "Sunny":
	print("Cloudy")
elif str is "Rainy":
	print("Sunny")
else:
	print("Cloudy")
	pass

Submission status: Wrong Answer

Solution code:
import sys
INPUT = sys.stdin.readline
#入力関数
def SORO_INT(): return int(INPUT())
def MULT_INT_LIST(): return list(map(int, INPUT().split()))
def MULT_INT_MAP(): return map(int, INPUT().split())
def SORO_STRING(): return INPUT()
def MULT_STRING(): return INPUT().split()

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

Submission status: Wrong Answer

Solution code:
s = input()

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
S = str(input())

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

for i in range(3):
    if (S == test[i]) & (i != 2):
        print(test[i+1])
        break
    else:
        print(test[0])
        break

Submission status: Wrong Answer

Solution code:
s = input()

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

Submission status: Wrong Answer

Solution code:
import sys
input = sys.stdin.readline
s=input()
if s == "Sunny":
  print("Cloudy")
elif s == "Cloudy":
  print("Rainy")
elif s == "Rainy":
  print("Sunny")

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:

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

S = input()

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

Submission status: Wrong Answer

Solution code:
S = str(input())

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

Submission status: Wrong Answer

Solution code:
s_l = ['Sunny', 'Cloudy', 'Rainy' ]
a = input()
for i in range(len(s_l)):
    if a == s_l[i]:
        try:
            print(s_l[i+1])
        except:
            print(s_l[-1])
        break

Submission status: Wrong Answer

Solution code:
S = str(input())

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

s = input()

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
import sys
input = sys.stdin.readline
s=input()
if s == "Sunny":
  print("Cloudy")
elif s == "Cloudy":
  print("Rainy")
else:
  print("Sunny")

Submission status: Wrong Answer

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

S = input()

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

Submission status: Wrong Answer

Solution code:
S = input()

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

Submission status: Wrong Answer

Solution code:
today = input()
li = ['Sunny', 'Cloudy', 'Rainy']
index = li.index(today)


def next_index(idx):
    if index == 2:
        return 0
    else:
        return idx + 1


print(next_index(index))

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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


import sys

def input(): return sys.stdin.readline().strip()
def list2d(a, b, c): return [[c] * b for i in range(a)]
def list3d(a, b, c, d): return [[[d] * c for j in range(b)] for i in range(a)]
def list4d(a, b, c, d, e): return [[[[e] * d for j in range(c)] for j in range(b)] for i in range(a)]
def ceil(x, y=1): return int(-(-x // y))
def INT(): return int(input())
def MAP(): return map(int, input().split())
def LIST(N=None): return list(MAP()) if N is None else [INT() for i in range(N)]
def Yes(): print('Yes')
def No(): print('No')
def YES(): print('YES')
def NO(): print('NO')
sys.setrecursionlimit(10 ** 9)
INF = float('inf')
MOD = 10 ** 9 + 7

S = input()

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

Submission status: Wrong Answer

Solution code:
weathers = ['Sunny', 'Rainy', 'Cloudy']
now = input()
now_index = weathers.index(now)
next_index = (now_index + 1) % len(weathers)
print(weathers[next_index])

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:


def main():
    S = input()

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

Submission status: Wrong Answer

Solution code:
from sys import stdin


def main():
    S = input()

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


if __name__ == "__main__":
    main()

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
S = input()


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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
N=input()
if N=="Sunny":
  print("Cloudy")
if N=="Cloudy":
  print("rainy")
if N=="rainy":
  print("Sunny")

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

Solution code:
import random

w = input()

f = random.randint(0, 2)

if f == 0:
    print("Sunny")
elif f == 1:
    print("Cloudy")
elif f == 2:
    print("Rainy")

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
import sys
S = sys.stdin.readline()
L = ["Sunny", "Cloudy", "Rainy"]

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

Submission status: Wrong Answer

Solution code:


def main():
    S = input()

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
S = input()

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

print(result)

Submission status: Wrong Answer

Solution code:
s = input()

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

Submission status: Wrong Answer

Solution code:
import sys

input = sys.stdin.readline

def main():
    s=input()
    p=""
    if s=="Sunny":
        p="Cloudy"
    elif s=="Cloudy":
        p="Rainy"
    else:
        p="Sunny"


    print(p)

if __name__ == "__main__":
    main()

Submission status: Wrong Answer

Solution code:
S = input()

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:

import sys
input = sys.stdin.readline
sys.setrecursionlimit(2147483647)
INF=float("inf")
MOD=10**9+7
##############################

A = ['Sunny', 'Cloudy', 'Rainy']
S = input().rstrip()
if S == A[0]:
    print(A[1])
elif S == A[1]:
    print(A[1])
elif S == A[2]:
    print(A[0])

Submission status: Wrong Answer

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: Wrong Answer

Solution code:
S = input()

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

print('Sunny')

Submission status: Wrong Answer

Solution code:
s = input()

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
S = input()

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Accepted

Solution code:
#!/usr/bin/env python3
# Generated by https://github.com/kyuridenamida/atcoder-tools
from typing import *
import collections
import functools
import itertools
import math
import sys

INF = float('inf')


def solve(S: str):
    w = list(reversed(['Sunny', 'Cloudy', 'Rainy']))
    return w[w.index(S) - 1]


def main():

    sys.setrecursionlimit(10 ** 6)

    def iterate_tokens():
        for line in sys.stdin:
            for word in line.split():
                yield word
    tokens = iterate_tokens()
    S = next(tokens)  # type: str
    print(f'{solve(S)}')


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

Submission status: Accepted

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

Submission status: Accepted

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

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

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

S = input()

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

c = A.index(S)

#print(A[c+1])

if c == 2:
    print(A[0])

else:
    print(A[c+1])

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

Submission status: Accepted

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

n = input()

print(li[li.index(n) + 1])

Submission status: Accepted

Solution code:
Wet = ['Sunny','Cloudy','Rainy','Sunny']
print(Wet[Wet.index(input())+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':
    print('Cloudy')
elif s == 'Rainy':
    print('Sunny')
else:
    print('Rainy')

Submission status: Accepted

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


d = {'Sunny':'Cloudy','Cloudy':'Rainy','Rainy':'Sunny'}
print(d[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:
import sys

S = sys.stdin.readline().strip()
weathers = ["Sunny", "Cloudy", "Rainy"]
print(weathers[(weathers.index(S) + 1) % 3])

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
import sys

sys.setrecursionlimit(10**7)
def I(): return int(sys.stdin.readline().rstrip())
def MI(): return map(int,sys.stdin.readline().rstrip().split())
def LI(): return list(map(int,sys.stdin.readline().rstrip().split()))  #空白あり
def LI2(): return list(map(int,sys.stdin.readline().rstrip()))  #空白なし
def S(): return sys.stdin.readline().rstrip()
def LS(): return list(sys.stdin.readline().rstrip().split())  #空白あり
def LS2(): return list(sys.stdin.readline().rstrip())  #空白なし


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

Submission status: Accepted

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

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

Submission status: Accepted

Solution code:
s = list(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()
print('Cloudy' if s == 'Sunny' else 'Rainy' if s == 'Cloudy' else '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:
S=input()
a=['Sunny','Cloudy','Rainy']
for i in range(3):
    if a[i]==S:
        print(a[(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':
    result = 'Cloudy'
elif s == 'Cloudy':
    result = 'Rainy'
else:
    result = 'Sunny'

print(result)

Submission status: Accepted

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

Submission status: Accepted

Solution code:
import sys
import math
#from queue import *
#import random
#sys.setrecursionlimit(int(1e6))
input = sys.stdin.readline
 
############ ---- USER DEFINED INPUT FUNCTIONS ---- ############
def inp():
    return(int(input()))
def inara():
    return(list(map(int,input().split())))
def insr():
    s = input()
    return(list(s[:len(s) - 1]))
def invr():
    return(map(int,input().split()))
################################################################
############ ---- THE ACTUAL CODE STARTS BELOW ---- ############

s=insr()
ara=["Sunny", "Cloudy", "Rainy", "Sunny", "Cloudy", "Rainy"]

if s[0]=='S':
	print(ara[1])
elif s[0]=='C':
	print(ara[2])
else:
	print(ara[0])

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
S = input ()

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:
list = ['Sunny', 'Cloudy', 'Rainy']

s = input()

i = list.index(s)
answer = list[i - 2]

print(answer)

Submission status: Accepted

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

s = input()

i = list.index(s)

answer = list[i - 2]

print(answer)

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 == 'Rainy': print('Sunny')
elif S == '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:
lis = ["Sunny", "Cloudy", "Rainy"]
S = input()
x = lis.index(S)
if x == 2:
  ans_key = 0
else:
  ans_key = x + 1
print(lis[ans_key])

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_list = ['Sunny', 'Cloudy', 'Rainy']
print(ans_list[ (ans_list.index(s) + 1)  % 3 ])

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
S = input()
l = ['Sunny', 'Cloudy', 'Rainy']
d = {k: v for k, v in zip(l, l[1:])}
d[l[-1]] = l[0]
print(d[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:
w=["Sunny","Cloudy","Rainy","Sunny"]
s=input()
for i in range(3):
  if s==w[i]: print(w[i+1])

Submission status: Accepted

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


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

Submission status: Accepted

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

print(ans[S])

Submission status: Accepted

Solution code:
s=input()
wt=["Sunny","Cloudy","Rainy","Sunny"]
ans=wt.index(s)
print(wt[ans+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'
elif S == 'Rainy':
    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:
# A - Weather Prediction

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()
wdict = ["Sunny","Cloudy","Rainy"]

now = wdict.index(S)
nextw = (now+1) % 3
print(wdict[nextw])

Submission status: Accepted

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

Submission status: Accepted

Solution code:
S = str(input())

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

Submission status: Accepted

Solution code:
S = input()
if S.startswith('S'):
     print('Cloudy')
elif S.startswith('C'):
    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:
import sys

readline = sys.stdin.readline
MOD = 10 ** 9 + 7
INF = float('INF')
sys.setrecursionlimit(10 ** 5)


def main():
    S = input()
    p = ["Sunny", "Cloudy", "Rainy"]

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


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