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

Solution (Python):
s=str(input())
if s =="Sunny":
    print('Cloudy')
elif s =="Cloudy":
    print('Rainy')
else:
    print('Sunny')

Solution (Python):
s=input()
lst=['Sunny','Cloudy','Rainy']
index=lst.index(s)
newIndex=(index+1)%len(lst)
print(lst[newIndex])

Solution (Python):
import math
import sys
input = sys.stdin.readline


def main():
    sc = Scan()
    s = sc.strarr()[0]

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


class Scan():

    def intarr(self):
        line = input()
        array = line.split(' ')
        num_array = [int(n) for n in array]
        return num_array

    def strarr(self):
        line = input()
        array = line.split(' ')
        array[-1] = array[-1].strip('\n')
        return array


main()

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

Solution (Python):
from collections import defaultdict,deque
import sys,heapq,bisect,math,itertools,string,queue,copy,time
import numpy as np
sys.setrecursionlimit(10**8)
INF = float('inf')
mod = 10**9+7
eps = 10**-7
def inp(): return int(sys.stdin.readline())
def inpl(): return list(map(int, sys.stdin.readline().split()))
def inpl_str(): return list(sys.stdin.readline().split())

S = input()
Wlist = ['Sunny', 'Cloudy', 'Rainy']
print(Wlist[(Wlist.index(S)+1)%3])

Solution (Python):
from collections import defaultdict,deque
import sys,heapq,bisect,math,itertools,string,queue,copy,time
import numpy as np
sys.setrecursionlimit(10**8)
INF = float('inf')
mod = 10**9+7
eps = 10**-7
def inp(): return int(sys.stdin.readline())
def inpl(): return list(map(int, sys.stdin.readline().split()))
def inpl_str(): return list(sys.stdin.readline().split())

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

print(ans)

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

Solution (Python):

s = input()

sl = ['Sunny','Cloudy','Rainy']
if s == sl[0]:
    print(sl[1])
elif s == sl[1]:
    print(sl[2])
else:
    print(sl[0])

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

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

Solution (Python):

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

Solution (Python):
Weather = input()

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

Solution (Python):
S=input()

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

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

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

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

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

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

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

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

Solution (Python):
S = input()

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

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

Solution (Python):
today = input()
if today == 'Sunny':
  tomorrow = 'Cloudy'
elif today == 'Cloudy':
  tomorrow = 'Rainy'
else:
  tomorrow = 'Sunny'
print(tomorrow)

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

Solution (Python):
S = input()

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

Solution (Python):
import sys

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

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

i = WS.index(S)
i += 1
if i == 3:
    i = 0

print(WS[i])

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

Solution (Python):
w = ['Sunny', 'Cloudy', 'Rainy', 'Sunny'];print(w[w.index(input())+1])

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

Solution (Python):
S = input()

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

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

Solution (Python):
weather = ['Sunny', 'Cloudy', 'Rainy']

s = input()

idx = weather.index(s)

print(weather[(idx %3) - 2])

Solution (Python):
s = str(input())
if s=='Sunny':
    print('Cloudy')
elif s=='Cloudy':
    print('Rainy')
elif s =='Rainy':
    print('Sunny')

Solution (Python):
today = str(input())
S = ['Sunny', 'Cloudy', 'Rainy']
if today == 'Sunny':
  print('Cloudy')
elif today =='Cloudy':
  print('Rainy')
elif today =='Rainy':
  print('Sunny')

Solution (Python):
s = input()
l = ['Sunny', 'Cloudy', 'Rainy']
for i in range(3):
    if s == l[i]:
        num = i
if num == 2:
    ans = l[0]
else:
    ans = l[num + 1]
print(ans)

Solution (Python):
s = input()

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

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

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

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

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

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

Solution (Python):
s = input()

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

Solution (Python):
s = str(input())

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

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

Solution (Python):
import sys
input = sys.stdin.readline
def print_ans(input_line):
    """Test Case
    >>> print_ans("Sunny")
    Cloudy
    >>> print_ans("Rainy")
    Sunny
    """
    if input_line == "Sunny":
        print("Cloudy")
    elif input_line == "Rainy":
        print("Sunny")
    else:
        print("Rainy")


if __name__ == '__main__':
    input_line = input().rstrip()
    print_ans(input_line)

Solution (Python):

def print_ans(input_line):
    """Test Case
    >>> print_ans("Sunny")
    Cloudy
    >>> print_ans("Rainy")
    Sunny
    """
    if input_line == "Sunny":
        print("Cloudy")
    elif input_line == "Rainy":
        print("Sunny")
    else:
        print("Rainy")


if __name__ == '__main__':
    print_ans(input())

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

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

Solution (Python):
s = str(input())

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

Solution (Python):
import sys


def solve():
    input = sys.stdin.readline
    mod = 10 ** 9 + 7
    s = str(input().rstrip('\n'))
    if s == "Sunny":
        print("Cloudy")
    elif s == "Cloudy":
        print("Rainy")
    elif s == "Rainy":
        print("Sunny")


if __name__ == '__main__':
    solve()

Solution (Python):
weather = {"Sunny":"Cloudy","Cloudy":"Rainy","Rainy":"Sunny"}
print(weather[input()])

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

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

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

Solution (Python):

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

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

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

Solution (Python):

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

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

Solution (Python):
s = input()

weathers = ["Sunny", "Cloudy", "Rainy"]
res = weathers[(weathers.index(s) + 1) % 3]

print(res)

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

Solution (Python):
import sys


def LI(): return [int(x) for x in sys.stdin.readline().split()]


def I(): return int(sys.stdin.readline())



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



def B():
    return



def C():
    return



def D():
    return



def E():
    return



def F():
    return



def resolve():
    A()
    return



if __name__ == "__main__":
    A()

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

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

Solution (Python):
S = input()

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

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

Solution (Python):
s = input()

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

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

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

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

Solution (Python):
S = input()

X = ["Sunny", "Cloudy", "Rainy"]
D = {}
for i in range(3):
    D[X[i]] = X[(i+1) % 3]

print(D[S])

Solution (Python):
per = ["Sunny", "Cloudy", "Rainy"]

w = input()
i_w = per.index(w)
if i_w == 2:
    print(per[0])
else:
    print(per[i_w + 1])

Solution (Python):
l=("Sunny","Cloudy","Rainy",'Sunny')
print(l[l.index(input())+1])

Solution (Python):
def main():
    
    S = input()
    if S == 'Sunny':
        print('Cloudy')
    elif S == 'Cloudy':
        print('Rainy')
    else:
        print('Sunny')

if __name__ == '__main__':
    main()

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

Solution (Python):


S = input()

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

ans = tenki[tenki.index(S) + 1]

print(ans)

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

Solution (Python):
if __name__ == "__main__":
    s = input()

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

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

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

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

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

Solution (Python):
s = input().strip()

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

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

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

Solution (Python):
s=input()

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

Solution (Python):
s = input()
w = ["Sunny", "Cloudy", "Rainy"]

if s == w[0]:
    print(w[1])
elif s == w[1]:
    print(w[2])
else:
    print(w[0])

Solution (Python):
s = input()

if s == 'Sunny':
	t = 'Cloudy'
elif s == 'Cloudy':
	t = 'Rainy'
else:
	t = 'Sunny'

print(t)

Solution (Python):
tenki=["Sunny","Cloudy","Rainy"]
s=input()
x=tenki.index(s)
print(tenki[(x+1)%3])

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

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

Solution (Python):

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

Solution (Python):
S = str(input())

a = "Sunny"
b = "Cloudy"
c = "Rainy"

if S == a:
    print(b)
elif S == b:
    print(c)
else:
    print(a)

Solution (Python):
S = input()

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

Solution (Python):
s = str(input())
if s == 'Sunny':
    ans = 'Cloudy'
elif s == 'Cloudy':
    ans = 'Rainy'
elif s == 'Rainy':
    ans = 'Sunny'

print(ans)

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

Solution (Python):
S = input()

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

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

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

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

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

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

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

Solution (Python):
import sys

S = input()

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

Solution (Python):
from enum import Enum
from queue import Queue

import numpy as np

import collections
import bisect
import sys
import math

from scipy.sparse.csgraph import floyd_warshall

S = input()

Weather = []
Weather.append('Sunny')
Weather.append('Cloudy')
Weather.append('Rainy')
print(Weather[(Weather.index(S)+1)%3])

Solution (Python):
s = input()

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

Solution (Python):
x = input()

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

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

Solution (Python):
S = str(input())

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

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

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

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

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

Solution (Python):
w = ['Sunny', 'Cloudy', 'Rainy', 'Sunny']
t = input()
if t in w:
    print(w[w.index(t)+1])

Solution (Python):
s = input();
weather = ["Sunny", "Cloudy", "Rainy"]
n = 0;

if weather.index(s) == 2:
    n = 0;
else:
    n = weather.index(s) + 1;

print(weather[n])

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

Solution (Python):
s=input()

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

Solution (Python):
weather = input()

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

Solution (Python):
s = input()
ww = ['Sunny', 'Cloudy', 'Rainy']
wi = ww.index(s)
wi = wi + 1 if wi < 2 else 0
print(ww[wi])

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

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

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

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

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

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

Solution (Python):
weather = ["Sunny", "Cloudy", "Rainy"]
todayWeather = input()
if todayWeather == weather[0]:
  result = weather[1]
elif todayWeather == weather[1]:
  result = weather[2]
else:
  result = weather[0]

print(result)

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

Solution (Python):
s = input()

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

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

Solution (Python):

S = str(input())

weather = ('Sunny', 'Cloudy', 'Rainy')
if S == weather[0]:
    print(weather[1])
elif S == weather[1]:
    print(weather[2])
elif S == weather[2]:
    print(weather[0])

Solution (Python):
import sys
import math
input = sys.stdin.readline

weathers = {"Sunny":"Cloudy" , "Cloudy":"Rainy", "Rainy":"Sunny"}
S = input().rstrip()

print(weathers[S])

Solution (Python):

t = input()

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

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

Solution (Python):
S=str(input())

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

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

Solution (Python):
S=str(input())

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

Solution (Python):
S = input()

if S == "Sunny":
    result = "Cloudy"
elif S == "Cloudy":
    result = "Rainy"
else:
    result = "Sunny"

print(result)

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

Solution (Python):



def solve(*args: str) -> str:
    s = args[0]
    r = ''
    if(s == 'Sunny'):
        r = 'Cloudy'
    elif(s == 'Cloudy'):
        r = 'Rainy'
    elif(s == 'Rainy'):
        r = 'Sunny'

    return str(r)


if __name__ == "__main__":
    print(solve(*[input() for _ in range(1)]))

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

Solution (Python):
S = input()
check = ["Sunny", "Cloudy", "Rainy"]
if "Sunny" == S:
  print("Cloudy")
elif "Cloudy" == S:
  print("Rainy")
else:
  print("Sunny")

Solution (Python):
s= str(input())
if s == 'Sunny':
  print('Cloudy')
elif s == 'Cloudy':
  print('Rainy')
elif s == 'Rainy':
  print('Sunny')

Solution (Python):
weth = input()
if weth == "Sunny":
    print("Cloudy")
    
elif weth == "Cloudy":
    print("Rainy")

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

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

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

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

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

Solution (Python):
s = input()

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

Solution (Python):
s = input()

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

idx = weathers.index(s)

print(weathers[idx+1])

Solution (Python):
s = input()

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

Solution (Python):
S=input()
weathers = 'Sunny Cloudy Rainy'.split()
index = weathers.index(S)
try:
    print(weathers[index+1])
except IndexError:
    print(weathers[0])

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

Solution (Python):
a=input()
if a == "Sunny": print("Cloudy")
if a == "Cloudy": print("Rainy")
if a == "Rainy": print("Sunny")

Solution (Python):
a=input()
l=["Sunny","Cloudy","Rainy","Sunny"]
for i in range(len(l)):
	if l[i]==a:
		print(l[i+1])
		break

Solution (Python):
arr = ["Sunny","Cloudy","Rainy"]

s = input()

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

Solution (Python):
arr = ["Sunny","Cloudy","Rainy"]

s = input()
for i,ele in enumerate(arr):
    if ele == s: ans = arr[(i+1)%3]

print(ans)

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

Solution (Python):
today = str(input())

if today == "Sunny":
    tomorrow = "Cloudy"
elif today == "Cloudy":
    tomorrow = "Rainy"
else:
    tomorrow = "Sunny"

print(tomorrow)

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

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

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

Solution (Python):
s = input()

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

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

Solution (Python):
S = input()

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

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

Solution (Python):
def weather(s):
    if s == "Sunny":
        return "Cloudy"
    if s == "Cloudy":
        return "Rainy"
    if s == "Rainy":
        return "Sunny"


s = input().strip()
print(weather(s))

Solution (Python):
Wethers={"Sunny":0,"Cloudy":1,"Rainy":2}
Wether=["Sunny","Cloudy","Rainy"]
S=input()
S_id = Wethers[S]
print(Wether[(S_id+1)%3])

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

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

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

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

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

Solution (Python):
S = input()

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

Solution (Python):
s = input()
weather = ['Sunny', 'Cloudy', 'Rainy']
windex = weather.index(s)
if windex == 2:
    windex = 0
else:
    windex += 1
print(weather[windex])

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

Solution (Python):
s = input()

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

Solution (Python):
x = input()
if x == 'Sunny':
  print("Cloudy")
elif x == 'Cloudy':
  print("Rainy")
else:
  print("Sunny")

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

Solution (Python):
s = input()
tenki = ["Sunny", "Cloudy", "Rainy"]
idx = tenki.index(s)
print(tenki[(idx+1)%3])

Solution (Python):
S = input()

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

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

Solution (Python):
S = input()

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

for i, day in enumerate(whether):
    if S == day:
        print(whether[(i+1)%3])
        exit()
    else:
        continue

Solution (Python):
import os
import sys

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


today_weather = input()

weather_index = weather_list.index(today_weather)

weather_index = weather_index+1 if len(weather_list)-1!=weather_index else 0

print(weather_list[weather_index])

Solution (Python):
S=input()
L=["Sunny","Cloudy","Rainy","Sunny"]
print(L[L.index(S)+1])

Solution (Python):
S = input()

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

Solution (Python):
n = str(input())
if n == 'Sunny':
  print('Cloudy')
if n == 'Cloudy':
  print('Rainy')
if n == 'Rainy':
  print('Sunny')

Solution (Python):
w = input()

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

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

Solution (Python):

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

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

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

Solution (Python):
S = input()

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

Solution (Python):

import sys


def solve(S: str):
    l = ['Sunny', 'Cloudy', 'Rainy']
    print(l[l.index(S) + 1] if S != 'Rainy' else 'Sunny')
    return



def main():
    def iterate_tokens():
        for line in sys.stdin:
            for word in line.split():
                yield word
    tokens = iterate_tokens()
    S = next(tokens)  
    solve(S)

if __name__ == '__main__':
    main()

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

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

Solution (Python):
weather = [
    'Sunny',
    'Cloudy',
    'Rainy'
]

S = input()


def solve(S):
    index = weather.index(S)
    next_index = 0 if index == 2 else index + 1

    return weather[next_index]


print(solve(S))

Solution (Python):
S=input()

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

Solution (Python):
S = str(input())

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

Solution (Python):
"""
author : halo2halo
date : 18,Oct,2019
"""

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

W = readline().rstrip()
wether = ['Sunny', 'Cloudy', 'Rainy']
ans = wether.index(W) + 1
print(wether[ans % 3])

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

Solution (Python):
S = input()

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

Solution (Python):
n = input()
a = {'Sunny':0, 'Cloudy':1,'Rainy':2}
aa = {0:'Sunny',1:'Cloudy',2:'Rainy'}
b = (a[n] + 1) %3
print(aa[b])

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

Solution (Python):
dic = {'Sunny':'Cloudy','Cloudy':'Rainy','Rainy':'Sunny'}
_in = input()
print(dic[_in])

Solution (Python):
s = input()

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

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

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

Solution (Python):
str = input()

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

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

Solution (Python):

s = input()

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

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

Solution (Python):
def main():
  weather = ['Sunny', 'Cloudy', 'Rainy', 'Sunny']
  s = input()
  for i in range(len(weather)-1):
    if s == weather[i]:
      print(weather[i+1])
      
if __name__ == '__main__':
    main()