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

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

Solution (Python):
S = input()

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

print(t[S])

Solution (Python):


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

Solution (Python):
from sys import exit, stderr, stdin
input = stdin.readline


def debug(var, name="hoge"):
    print(name +":" + str(type(var)) + " = " + repr(var), file=stderr)
    return


def main():
    S = input()
    if S[0] == "S":
        print('Cloudy')
    elif S[0] == "C":
        print('Rainy')
    else:
        print('Sunny')




if __name__ == "__main__":
    main()

Solution (Python):
s = raw_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[0] == "S":
    print("Cloudy")
elif S[0] == "C":
    print("Rainy")
else:
    print("Sunny")

Solution (Python):


import sys

s2nn = lambda s: [int(c) for c in s.split(' ')]
ss2nn = lambda ss: [int(s) for s in list(ss)]
ss2nnn = lambda ss: [s2nn(s) for s in list(ss)]
i2s = lambda: sys.stdin.readline().rstrip()
i2n = lambda: int(i2s())
i2nn = lambda: s2nn(i2s())
ii2ss = lambda n: [i2s() for _ in range(n)]
ii2nn = lambda n: ss2nn(ii2ss(n))
ii2nnn = lambda n: ss2nnn(ii2ss(n))

def main():
    S=i2s()
    d={'Sunny': 'Cloudy', 'Cloudy': 'Rainy', 'Rainy': 'Sunny'}
    print(d[S])
    return

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

Solution (Python):
def p_a():
    S = input()

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


if __name__ == '__main__':
    p_a()

Solution (Python):

import sys

import heapq
import re
import bisect
import random
import math
import itertools
from collections import defaultdict, deque
from copy import deepcopy
from decimal import *

readl= lambda: list(map(int, sys.stdin.readline().split()))
readt= lambda: tuple(map(int, sys.stdin.readline().split()))
read = lambda: sys.stdin.readline().rstrip()
readi = lambda: int(read())
readmi = lambda: map(int, sys.stdin.readline().split())
readms = lambda: map(str, sys.stdin.readline().split())


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

Solution (Python):

import sys
input = sys.stdin.readline
sys.setrecursionlimit(10**6)

s = input()

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

print(w[(w.index(s[:-1])+1) % 3])

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

Solution (Python):
t = input()
s = 'Sunny'
c = 'Cloudy'
r = 'Rainy'

if t == s:
    print(c)
elif t == c:
    print(r)
else:
    print(s)

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

Solution (Python):
S = input()

if S[0] == 'S':
    s = 'Cloudy'
elif S[0] == 'C':
    s = 'Rainy'
else:
    s = 'Sunny'

print(s)

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

def input(): return sys.stdin.readline()[:-1]
def ceil(x, y=1): return int(-(-x // y))
def INT(): return int(input())
def MAP(): return map(int, input().split())
def LIST(): return list(map(int, input().split()))
def MATINT(h): return [list(map(int, input().split())) for _ in range(h)]
def MATSTR(h): return [input() for _ in range(h)]
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

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

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

Solution (Python):
S = input()

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

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

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[0]=="S":print("Cloudy")
if s[0]=="C":print("Rainy")
if s[0]=="R":print("Sunny")

Solution (Python):
import sys
input=sys.stdin.readline
s=input().rstrip()
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):
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 == "Cloudy":
    print("Rainy")
elif S == "Rainy":
    print("Sunny")
else:
    print("Cloudy")

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

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

Solution (Python):
import collections


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

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"}
print(dic[input()])

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

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

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

Solution (Python):
s = input()
print({'S':'Cloudy', 'C':'Rainy', 'R':'Sunny'}[s[0]])

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

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')
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):
S = input()
if S[0] == 'S':
    print('Cloudy')
if S[0] == 'C':
    print('Rainy')
if S[0] == 'R':
    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()

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

print (dic[S])

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

Solution (Python):
import sys
import math
import re

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

print(a[input()])

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):
s=list(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()
tenki = {"Sunny":"Cloudy","Cloudy":"Rainy","Rainy":"Sunny"}
print(tenki[S])

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

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



main()

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

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

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

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().strip()
l = ['Sunny', 'Cloudy', 'Rainy']
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):

import sys
import math
from bisect import bisect_left
from bisect import bisect_right
import collections
import copy
import heapq
from collections import defaultdict
from heapq import heappop, heappush
import itertools
input = sys.stdin.readline






















def inputInt(): return int(input())
def inputMap(): return map(int, input().split())
def inputList(): return list(map(int, input().split()))

def main():
	S = input()
	S = S[:-1]

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

print(ans)

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')
else:
    print('Sunny')

Solution (Python):
S = input()

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

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

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 math,string,itertools,fractions,heapq,collections,re,array,bisect,sys,random,time,queue,copy

sys.setrecursionlimit(10**7)
inf=10**20
mod=10**9+7
dd=[(-1,0),(0,1),(1,0),(0,-1)]
ddn=[(-1,0),(-1,1),(0,1),(1,1),(1,0),(1,-1),(0,-1),(-1,-1)]

def LI(): return [int(x) for x in sys.stdin.readline().split()]
def LI_(): return [int(x)-1 for x in sys.stdin.readline().split()]
def I(): return int(sys.stdin.readline())
def LS(): return sys.stdin.readline().split()
def S(): return input()

def main():
  s=S()
  l=['Sunny','Cloudy','Rainy']

  if s==l[0]:
    return l[1]
  elif s==l[1]:
    return l[2]
  else:
    return l[0]


print(main())

Solution (Python):
A = input()

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

Solution (Python):
def getlist():
	return list(map(int, input().split()))

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):
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()
if S == 'Sunny':
    print('Cloudy')
elif S == 'Cloudy':
    print('Rainy')
else:
    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[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()
if s[0]=="S":
    print("Cloudy")
elif s[0]=="C":
    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):
X = ["Sunny", "Cloudy", "Rainy"]
s = input()
for i in range(3):
    if s == X[i]: print(X[i-2])

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

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

if __name__ == "__main__":
    resolve()

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

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

Solution (Python):


line = input()
if line == "Sunny":
    print("Cloudy")
elif line == "Cloudy":
    print("Rainy")
else:
    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):
Ss = {"Sunny":"Cloudy", "Cloudy":"Rainy" ,"Rainy":"Sunny"}
print(Ss[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 == "Cloudy":
    print("Rainy")
else:
    print("Sunny")

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

Solution (Python):











import sys
sys.setrecursionlimit(10**6)
input=sys.stdin.readline
from math import floor,ceil,sqrt,factorial,log 
from heapq import heappop, heappush, heappushpop
from collections import Counter,defaultdict,deque
from itertools import accumulate,permutations,combinations,product,combinations_with_replacement
from bisect import bisect_left,bisect_right
from copy import deepcopy
inf=float('inf')
mod = 10**9+7
def pprint(*A): 
    for a in A:     print(*a,sep='\n')
def INT_(n): return int(n)-1
def MI(): return map(int,input().split())
def MF(): return map(float, input().split())
def MI_(): return map(INT_,input().split())
def LI(): return list(MI())
def LI_(): return [int(x) - 1 for x in input().split()]
def LF(): return list(MF())
def LIN(n:int): return [I() for _ in range(n)]
def LLIN(n: int): return [LI() for _ in range(n)]
def LLIN_(n: int): return [LI_() for _ in range(n)]
def LLI(): return [list(map(int, l.split() )) for l in input()]
def I(): return int(input())
def F(): return float(input())
def ST(): return input().replace('\n', '')
def main():
    t = ["Sunny", "Cloudy", "Rainy", "Sunny"]
    S = ST()
    i = t.index(S)
    print(t[i+1])
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()

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

Solution (Python):
Ss = input()

if Ss == 'Sunny':
    print('Cloudy')
elif Ss == '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):
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')
elif s == 'Rainy':
    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):
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')
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):
w = {"Sunny": "Cloudy", "Cloudy": "Rainy", "Rainy": "Sunny"}
print(w[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 == "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):
from sys import stdin

S = stdin.readline().rstrip()

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

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

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

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

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

Solution (Python):
def slove():
    import sys
    input = sys.stdin.readline
    d = {"Sunny": "Cloudy", "Cloudy": "Rainy", "Rainy": "Sunny", }
    s = str(input().rstrip('\n'))
    print(d[s])


if __name__ == '__main__':
    slove()

Solution (Python):
import copy

def j(n):
    if n:print("yes")
    else:print("no")
    exit(0)
rem = 10 ** 9 + 7

"""
def ct(x,y):
    if (x>y):print("+")
    elif (x<y): print("-")
    else: print("?")
"""

def ip():
    return int(input())
def iprow():
    return [int(i) for i in input().split()]
def ips():
    return (int(i) for i in input().split())
def ipmultiplerow(n):
    a = []
    for i in range(n):
        a.append(ip())
    return a
def printrow(a):
    for i in a:
        print(i)
a = ["Sunny","Cloudy","Rainy"]
n = input()
b = a.index(n)
b+=1
b%=3
print(a[b])

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

import sys
sys.setrecursionlimit(300000)


def solve(S: str):
    a =  ['Sunny', 'Cloudy', 'Rainy']
    t = a.index(S)
    ret = a[(t + 1) % 3]
    print(ret)
    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")
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()
d = {'Sunny':'Cloudy', 'Cloudy':'Rainy', 'Rainy':'Sunny'}
print(d[S])

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

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

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

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