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:
def main():
  s = input()
  print(d[s])

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


if __name__ == '__main__':
  main()

Submission status: Accepted

Solution code:

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:
import sys
input = sys.stdin.readline
sys.setrecursionlimit(10 ** 7)

S = input().strip()

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

print(d[S])

Submission status: Accepted

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

main()

Submission status: Accepted

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

Submission status: Accepted

Solution code:
'use strict'
S = input()

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

Submission status: Accepted

Solution code:
#a=list(map(int,input().split()))
a=input()
b=['Sunny','Cloudy','Rainy']
print(b[(b.index(a)+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')
elif S == 'Cloudy':
  print('Rainy')
else:
  print('Sunny')

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
S = input()
dict={"Sunny":"Cloudy", "Cloudy":"Rainy", "Rainy":"Sunny"}

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

li = {"Sunny":1, "Cloudy":2, "Rainy":0}

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

a = li[s]

print(li_a[a])

Submission status: Accepted

Solution code:
S = input()

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

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
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[2])
elif S == A[2]:
    print(A[0])

Submission status: Accepted

Solution code:
import sys
sys.setrecursionlimit(int(1e6))

S = input()

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

Submission status: Accepted

Solution code:
import sys
from collections import defaultdict, Counter, deque
from itertools import accumulate, permutations, combinations
from operator import itemgetter
from bisect import bisect_left, bisect_right, bisect
from heapq import heappop, heappush
from fractions import gcd
from math import ceil, floor, sqrt, cos, sin, pi
from copy import deepcopy

# If you use recursive call, uncomment this code
#sys.setrecursionlimit(10**6)

def main():
    s = input()
    a = ["Sunny", "Cloudy", "Rainy"]
    hoge = dict(zip(a,[1,2,0]))
    print(a[hoge[s]])

if __name__ == '__main__':
    main()

Submission status: Accepted

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

Submission status: Accepted

Solution code:
#l=list(map(int, input().split()))
#a,b=map(int, input().split())
#n=int(input())

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:
#  --*-coding:utf-8-*--

def main():
    S = input()

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

    print(Q[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")
else:
    print("Sunny")

Submission status: Accepted

Solution code:
import sys
from collections import deque
import copy
import math
def get_read_func(fileobject):
    if fileobject == None :
        return raw_input
    else:
        return fileobject.readline



def main():
    if len(sys.argv) > 1:
        f = open(sys.argv[1])
    else:
        f = None
    read_func = get_read_func(f);
    input_raw = read_func().strip().split()
    [S] = [(input_raw[0])]
    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[0]=='S':
    print("Cloudy")
elif s[0]=='C':
    print("Rainy")
else:
    print("Sunny")

Submission status: Accepted

Solution code:
s = str(input())

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

Submission status: Accepted

Solution code:
n = str(input())

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
S=input()

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

Submission status: Accepted

Solution code:
w = input()

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

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


if __name__ == "__main__":
    main()

Submission status: Accepted

Solution code:
s = input()

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

Submission status: Accepted

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

Submission status: Accepted

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

def ri():
    return int(input())

def rl():
    return list(input().split())

def rli():
    return list(map(int, input().split()))

ans = ['Sunny', '']
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()

ret = ''
if s == 'Sunny':
  ret = 'Cloudy'
elif s == 'Cloudy':
  ret = 'Rainy'
elif s == 'Rainy':
  ret = 'Sunny'

print(ret)

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
import sys
readline = sys.stdin.readline
S = readline().strip()
if S[0] == 'S':
    print('Cloudy')
elif S[0] == 'C':
    print('Rainy')
else:
    print('Sunny')

Submission status: Accepted

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

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

Submission status: Accepted

Solution code:
import sys

def main():
    input = sys.stdin.readline
    S = str(input().strip())

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

    return d[S]


if __name__ == '__main__':
    print(main())

Submission status: Accepted

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

Submission status: Accepted

Solution code:
s = input()

if s == "Sunny":
    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:
def func():
    S = input()

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

    print(ans)

if __name__ == '__main__':
    func()

Submission status: Accepted

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

Submission status: Accepted

Solution code:
S = input()

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

Submission status: Accepted

Solution code:
s = input()

l = {'Sunny': 'Cloudy','Cloudy':'Rainy', 'Rainy':'Sunny'}
print(l[s])

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
from sys import stdin

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

a = stdin.readline().rstrip()

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

Submission status: Accepted

Solution code:
S = input()

Output = {"Sunny" : "Cloudy", "Cloudy" : "Rainy", "Rainy" : "Sunny" }[S]

print(Output)

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

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

Submission status: Accepted

Solution code:
from heapq import heappush, heappop
import queue
import re
import math
import functools

def s_raw():
    return input().rstrip("\r")

def int_raw():
    return int(input())


def ss_raw():
    return input().split()


def ints_raw():
    return list(map(int, ss_raw()))


INF = 1 << 29


def make1d_arr(n, val=INF):
    return [val for i in range(n)]


def make2d_arr(h, w, val=INF):
    return [[val for i in range(w)]for i in range(h)]


def gcd(a, b):
    if(b == 0):
        return a
    return gcd(b, a % b)


def BFord(n,es):
    v_cost = [INF]*n
    v_cost[0] = 0
    for v in range(n*2):
        for e in es:
            frm = e[0]
            to = e[1]
            if v_cost[to] > v_cost[frm]+e[2]:
                v_cost[to] = v_cost[frm]+e[2]
                if v >= n:
                    v_cost[to] = -INF
        if v == n-1:
            prev = v_cost[:]
    v_cost = [-INF if prev[idx]!=v_cost[idx] else v_cost[idx] for idx in range(n)]
    return v_cost
    

def main():
    TS = ["Sunny", "Cloudy", "Rainy"]
    S = s_raw()
    for i in range(len(TS)):
        if S ==TS[i]:
            return TS[(i+1)%3]
if __name__ == "__main__":
    print(main())

Submission status: Accepted

Solution code:
s=input()
if(s=='Sunny'):
  print("Cloudy")
  exit()
if(s=='Cloudy'):
  print("Rainy")
  exit()
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:
#!/usr/bin/env python3
import sys


def solve(S: str):
    if S == "Sunny":
        print("Cloudy")
    elif S == "Cloudy":
        print("Rainy")
    else:
        print("Sunny")
    return


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

if __name__ == '__main__':
    main()

Submission status: Accepted

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

Submission status: Accepted

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

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:
import collections as c
ip = lambda : map(int, input().split())
# ##############
# N,K = ip()
S = input()[0]
if S=='S':
    print('Cloudy')
elif S=='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()

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

print(ans)

Submission status: Accepted

Solution code:
#N=int(input())
#N,M=map(int, input().split())
#L=list(map(int, input().split()))
L=['Sunny', 'Cloudy', 'Rainy']
print(L[(L.index(str(input()))+1)%3])

Submission status: Accepted

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

Submission status: Accepted

Solution code:
S = input()
ans = ""
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')
elif s == 'Rainy':
  print('Sunny')

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

Submission status: Accepted

Solution code:
S = input()

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
S = input()

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

idx = t.index(S)
idx = (idx + 1) % 3

print(t[idx])

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")
else:
  print("Rainy")

Submission status: Accepted

Solution code:
# ABC141
def main():
    S = input().rstrip()
    dic = {"Sunny": "Cloudy", "Cloudy": "Rainy", "Rainy": "Sunny"}
    ans = dic[S]
    print(ans)


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 numpy as np
a = input()

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

Submission status: Accepted

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

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

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

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

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
input = sys.stdin.readline
from operator import itemgetter

def main():
    v = input().strip()
    if v == "Sunny":
        print("Cloudy")
    elif v == "Cloudy":
        print("Rainy")
    else:
        print("Sunny")

if __name__ == '__main__':
    main()

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:
# A - Weather Prediction
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:
# A, B = [int(i) for i in input().split(" ")]
# A = int(input())
# As = [int(i) for i in input().split(" ")]
# Ss = ["".join(sorted(input())) for _ in range(N)]

A = input()
m = {"Sunny": "Cloudy",
 "Cloudy": "Rainy",
 "Rainy": "Sunny"}
print(m[A])

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:
import sys
MAX_INT = int(10e12)
MIN_NUM = -MAX_INT
mod = 1000000007
sys.setrecursionlimit(1000000000)
def IL(): return list(map(int,input().split()))
def SL(): return input().split()
def I(): return int(sys.stdin.readline())
def S(): return input()

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

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
N = input()

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

Solution code:
import sys
def input():
    return sys.stdin.readline()[:-1]

N = input()

l = ['Sunny','Cloudy','Rainy']
ind = l.index(N)
if ind==2:
    ans = 0
else:
    ans = ind+1
print(l[ans])

Submission status: Accepted

Solution code:
#a,b=map(int,input().split())
#l=list(map(int,input().split()))
n=input()
print("Cloudy") if n[0]=="S" else print("Sunny") if n[0]=="R" else print("Rainy")

Submission status: Accepted

Solution code:
import sys

input = sys.stdin.readline


class AtCoder:
    def main(self):
        S = input().rstrip()
        dic = {'Sunny': 'Cloudy', 'Cloudy': 'Rainy', 'Rainy': 'Sunny'}
        print(dic[S])


# Run main
if __name__ == '__main__':
    AtCoder().main()

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

Submission status: Accepted

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


def main():
    ws = ["Sunny", "Cloudy", "Rainy"]
    s = input()
    i = (ws.index(s) + 1) % len(ws)
    print(ws[i])


if __name__ == "__main__":
    main()

Submission status: Accepted

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

i = a.index(s)
print(a[(i + 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 = 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='Sunny'
C='Cloudy'
R='Rainy'

s = input()
if s == S:
  print(C)
elif s == C:
  print(R)
else:
  print(S)

Submission status: Accepted

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



resolve()

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

Submission status: Accepted

Solution code:
w = input()

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

Submission status: Accepted

Solution code:
s=input()

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

Submission status: Accepted

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

Submission status: Accepted

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

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:
#!/usr/bin/env python3
a=['Rainy', 'Cloudy','Sunny']
s=input()
print(a[a.index(s)-1])

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

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


if __name__ == "__main__":
    main()

Submission status: Accepted

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

Submission status: Accepted

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

else:
    print("Sunny")

Submission status: Accepted

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

Submission status: Accepted

Solution code:
S = input()

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