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

a = stdin.readline().rstrip()

if a == 'Sunny':
    print('Cloudy')
elif a == 'Cloudy':
    print('Rainy')
elif a == '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().strip()
lst=['Sunny','Cloudy','Rainy']
for i,s in enumerate(lst):
    if S==s:
        if i==2:
            print(lst[0])
        else:
            print(lst[i+1])

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

Solution (Python):
s = input()

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

print(haps[s])

Solution (Python):
S = input()
listw = [ "Sunny", "Cloudy", "Rainy" ]
ind = listw.index( S )
if ind == 2 : 
   ind = -1
print( listw[ind+1] )

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

Solution (Python):
import sys
sys.setrecursionlimit(2147483647)
INF=float("inf")
MOD=10**9+7
input=lambda:sys.stdin.readline().rstrip()
def resolve():
    S=input()
    s=S[0]
    if(s=='S'):
        print("Cloudy")
    elif(s=='C'):
        print("Rainy")
    else:
        print("Sunny")
resolve()

Solution (Python):
S = str(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")
if S == "Cloudy":
    print("Rainy")
if S == "Rainy":
    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 = 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()
w = ['Sunny', 'Cloudy', 'Rainy']

a = w.index(S)
if a == 2:
  a = -1

print(w[a+1])

Solution (Python):

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

Solution (Python):
i = input()
if i == "Sunny":
  print("Cloudy")
elif i == "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 = ["Sunny", "Cloudy", "Rainy"]

s = input()

ind = 0
for t in  l:
  ind += 1
  if s == t:
    break
ind %= 3
print(l[ind])

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

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

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

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

else:
    print('Error')

Solution (Python):
a = str(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")
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 = str(input())
W = ['Sunny', 'Cloudy', 'Rainy']

print(W[(W.index(S) + 1) % len(W)])

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

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

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

Solution (Python):
s = input()

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

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

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

list = {"Sunny":"Cloudy", "Cloudy":"Rainy","Rainy":"Sunny"}
print(list[weather])

Solution (Python):
S = input()
w = ["Sunny", "Cloudy", "Rainy"]
for i in range(len(w)):
    if w[i]==S:
        print(w[(i+1)%3])

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

Solution (Python):
import sys
def input(): return sys.stdin.readline().rstrip()

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

if __name__ == '__main__':
    main()

Solution (Python):
import sys

i = str(input())
if i =="Sunny":
	print("Cloudy")
elif i =="Cloudy":
	print("Rainy")
elif i =="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[0] == "S":
    print("Cloudy")
elif S[0] == "C":
    print("Rainy")
else:
    print("Sunny")

Solution (Python):
s = input()

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

print(dic[s])

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

Solution (Python):

import sys


def solve(S: str):
    obj = {
        "Sunny": "Cloudy",
        "Cloudy": "Rainy",
        "Rainy": "Sunny"
    }
    print(obj[S])
    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):
w = input()
if w == "Sunny":
    print("Cloudy")
if w == "Cloudy":
    print("Rainy")
if w == "Rainy":
    print("Sunny")

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

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

Solution (Python):
S=input()
w=['Sunny','Rainy','Cloudy']

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

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

Solution (Python):
S = input()

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

i = weathers.index(S)
i = (i + 1) % 3

print(weathers[i])

Solution (Python):

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

Solution (Python):
import sys

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

Solution (Python):
s = input()
lst=["Sunny","Cloudy","Rainy","Sunny"]
print(lst[lst.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')
elif N=='Cloudy':
    print('Rainy')
else:
        print('Sunny')

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

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

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):
weathers = {'Sunny': 'Cloudy', 'Cloudy': 'Rainy', 'Rainy': 'Sunny'}
S = input()

print(weathers.get(S))

Solution (Python):
s = input()

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

if s == weather[0]:
    print(weather[1])

elif s == weather[1]:
    print(weather[2])

else:
    print(weather[0])

Solution (Python):
S = input()

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

Solution (Python):
S=input()

if S=="Sunny":
    x="Cloudy"
elif S=="Cloudy":
    x="Rainy"
elif S=="Rainy":
    x="Sunny"

print(x)

Solution (Python):
S=input()
W=["Sunny","Cloudy","Rainy"]
for i in range(3):
  if S == W[i]:
    print(W[(i+1)%3])

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

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

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

Solution (Python):
s = input()

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

print(tw[s])

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

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().strip()
w = ['Sunny', 'Cloudy', 'Rainy']
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):
s = input()
a = {'Sunny':'Cloudy','Cloudy':'Rainy','Rainy':'Sunny'}
print(a[s])

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

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

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

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

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

Solution (Python):
s = input()

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

Solution (Python):
weather_today = input()

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

Solution (Python):
S = str(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")
else:
    print("Sunny")

Solution (Python):
x=input()
if x=="Sunny":
  print("Cloudy")
if x=="Cloudy":
  print("Rainy")
if x=="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"]
if weather.index(S) < 2:
	print(weather[weather.index(S)+1])
else:
    print(weather[0])

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

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

Solution (Python):
S=input()
j=0
ref=["Sunny","Cloudy","Rainy"]
for i in range(2):
  if S==ref[i]:
    j=i+1
if j==3:
  j=0
print(ref[j])

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

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

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

Solution (Python):

S=input()
j=0
ref=["Sunny","Cloudy","Rainy"]
for i in range(3):
  if S==ref[i]:
    j=i+1
if j==3:
  j=0
print(ref[j])

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

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

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

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

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

Solution (Python):
weather = ["Sunny", "Cloudy", "Rainy"]
s = input()
for i in range(3):
    if s == weather[i]:
        print(weather[(i + 1) % 3])

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

Solution (Python):
import numpy as np


np.random.seed(seed=0)

X_train = np.array([0, 1, 2])
T_train = np.array([1, 2, 0])

X_test = np.array([1, 2, 0])
T_test = np.array([2, 0, 1])


X_train = np.eye(3)[X_train.astype("int")]
X_test = np.eye(3)[X_test.astype("int")]
T_train = np.eye(3)[T_train.astype("int")]
T_test = np.eye(3)[T_test.astype("int")]


def softmax(x):
    x = x.T
    _x = x - np.max(x)
    _x = np.exp(_x) / np.sum(np.exp(_x), axis=0)
    return _x.T
  
  
def cross_entropy_error(t, y):
    delta = 1e-8
    error = -np.mean(t * np.log(y + delta)) 
    return error
  

class SoftmaxCrossEntropyLoss():
    def __init__(self):
        self.y = None
        self.t = None
        self.loss = None
        
    def __call__(self, t, y):
        self.y = softmax(y)
        self.t = t.copy()
        self.loss = cross_entropy_error(self.t, self.y)
        return self.loss
    
    def backward(self):
        batch_size = self.t.shape[0]
        dy = self.y - self.t 
        dy /= batch_size
        return dy
      
      
class FullyConnectedLayer():
    def __init__(self, input_shape, output_shape):
        self.w = np.random.randn(input_shape, output_shape) * 0.01
        self.b = np.zeros(output_shape, dtype=np.float)
        self.x = None
        self.dw = None
        self.db = None
        
    def __call__(self, x):
        self.x = x
        out = np.dot(self.x, self.w) + self.b
        return out
    
    def backward(self, dout):
        dx = np.dot(dout, self.w.T) 
        batch_size = dx.shape[0]
        self.dw = np.dot(self.x.T, dout) 
        self.db = np.sum(dout, axis=0)
        return dx
      
      
class ReLU():
    def __init__(self):
        self.mask = None

    def __call__(self, x):
        self.mask = (x <= 0)
        out = x.copy()
        out[self.mask] = 0
        return out

    def backward(self, dout):
        dout[self.mask] = 0
        dx = dout

        return dx
      
      


class MLP_classifier():

    def __init__(self):
        '''
        構造
        x -> fc(783, 256) -> relu -> fc(256, 256) -> relu -> fc(256, 10) -> out
        '''
        
        
        self.fc1 = FullyConnectedLayer(3, 20)
        self.relu1 = ReLU()
        self.fc2 = FullyConnectedLayer(20, 20)
        self.relu2 = ReLU()
        self.fc3 = FullyConnectedLayer(20, 3)
        self.out = None
        
        
        self.criterion = SoftmaxCrossEntropyLoss()

    def forward(self, x):
        '''
        順伝播
        '''
        
        x = self.relu1(self.fc1(x))
        x = self.relu2(self.fc2(x))
        self.out = self.fc3(x)
        
        
        
        return self.out

    def backward(self, t):
        '''
        逆伝播
        '''
        
        
        loss = self.criterion(t, self.out)
        
        d = self.criterion.backward()
        d = self.fc3.backward(d)
        d = self.relu2.backward(d)
        d = self.fc2.backward(d)
        d = self.relu1.backward(d)
        d = self.fc1.backward(d)
        
        return loss

    def optimize_GradientDecent(self, lr):
        '''
        勾配降下法による全層のパラメータの更新
        '''
        for fc in [self.fc1, self.fc2, self.fc3]:
            fc.w -= lr * fc.dw
            fc.b -= lr * fc.db
              


model = MLP_classifier()


lr = 0.005

n_epoch = 2000


for n in range(n_epoch):
    
    
    y = model.forward(X_train)
    loss = model.backward(T_train)
    model.optimize_GradientDecent(lr)
    
    
    y = model.forward(X_test)
    test_loss = model.backward(T_test)
    pred = softmax(y)
    accuracy = np.mean(np.equal(np.argmax(y, axis=1), np.argmax(T_test, axis=1)))
    
    
    classification_accuracy = accuracy

str = input()
y1 = [1, 0][str=="Sunny"]
y1 = [y1, 2][str=="Rainy"]

y1 = np.array([y1])
y1 = model.forward(np.eye(3)[y1.astype("int")])
print(["Sunny", "Cloudy", "Rainy"][np.argmax(y1, axis=1)[0]])

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', 'Sunny'] 
class Weather_Prediction:


  def solve(self, s):
    self.s = s
    ind = weather.index(s) +1
    ans_index = weather[ind]
    return ans_index
  
solver =   Weather_Prediction()
anser = solver.solve(s)
print(anser)

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()
w = ['Sunny', 'Cloudy', 'Rainy']
for i, wi in enumerate(w):
    if s == wi:
        idx = (i + 1) % 3
        break
print(w[idx])

Solution (Python):
print({'Sunny':'Cloudy','Cloudy':'Rainy','Rainy':'Sunny'}[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')
elif s == 'Rainy':
    print('Sunny')

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

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

for i in range(len(arr)):
	if s == arr[i] and i != 2:
		print(arr[i+1])
		break
	elif s == arr[i] and i == 2:
		print(arr[0])

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




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

p=input().rstrip()

weather=["Sunny","Cloudy","Rainy"]
for i in range(3):
    if p==weather[i]:
        
        print(weather[(i+1)%3])

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

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

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

_s = input()[:-1]


def chker(s):
    d = {
        'Sunny': 'Cloudy',
        'Cloudy': 'Rainy',
        'Rainy': 'Sunny'
    }

    print(d[s])


chker(_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 == "Sunny":
    print("Cloudy")

elif 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 = str(input())
if S[-3:] == "nny":
    print("Cloudy")
elif S[-2:] == "dy":
    print("Rainy")
else:
    print("Sunny")

Solution (Python):
import numpy

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

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

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

weather_change = {x: y for x, y in zip(w, w[1:])}

S = input()

print(weather_change[S])

Solution (Python):
def change_weather(weather):
    if weather == 'Sunny':
        return 'Cloudy'

    if weather == 'Rainy':
        return 'Sunny'

    if weather == 'Cloudy':
        return 'Rainy'


print(change_weather(input()))

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

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

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):
I = input()
S = "Sunny"
C = "Cloudy"
R = "Rainy"

if I == S :
    print(C)
elif I == C :
    print(R)
elif I == R :
    print(S)

Solution (Python):

from collections import defaultdict, Counter
from itertools import product, groupby, count, permutations, combinations
from math import pi, sqrt
from collections import deque
from bisect import bisect, bisect_left, bisect_right
from string import ascii_lowercase
from functools import lru_cache
import sys
sys.setrecursionlimit(10000)
INF = float("inf")
YES, Yes, yes, NO, No, no = "YES", "Yes", "yes", "NO", "No", "no"
dy4, dx4 = [0, 1, 0, -1], [1, 0, -1, 0]
dy8, dx8 = [0, -1, 0, 1, 1, -1, -1, 1], [1, 0, -1, 0, 1, 1, -1, -1]


def inside(y, x, H, W):
    return 0 <= y < H and 0 <= x < W


def ceil(a, b):
    return (a + b - 1) // b


def sum_of_arithmetic_progression(s, d, n):
    return n * (2 * s + (n - 1) * d) // 2


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


def lcm(a, b):
    g = gcd(a, b)
    return a / g * b


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


def main():
    S = input()
    solve(S)


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

Solution (Python):
s = input()

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

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

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

Solution (Python):
a = ["Sunny", "Cloudy", "Rainy"]
d = {a[i]:a[(i+1)%3] for i in range(3)}
x = raw_input().rstrip()
print d[x]

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

Solution (Python):

import sys













weather = ['Sunny', 'Cloudy', 'Rainy']
mod = 3

def main():
    today = sys.stdin.readline().rstrip()
    
    tomorrow = weather[(weather.index(today)+1)%mod]
    print(tomorrow)
        
if __name__ == "__main__":
    main()

Solution (Python):
S = input()

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

for i in range(len(pat)):
  if S == pat[i]:
    print(pat[i+1])
    exit(0)

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

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

Solution (Python):
S = list(input())
if S[0] == 'S':
    print('Cloudy')
elif S[0] == 'C':
    print('Rainy')
elif S[0] == 'R':
    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()[:1]
if s=='S':
    print('Cloudy')
elif s=='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 == '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 = raw_input()
arr=["Sunny","Cloudy","Rainy"]
n=arr.index(s)
print arr[(n+1)%len(arr)]

Solution (Python):
s = raw_input()
arr = ["Sunny", "Cloudy", "Rainy"]
n = arr.index(s)
print arr[(n+1)%len(arr)]

Solution (Python):


s = raw_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):
T = {}
T['Sunny'] = 'Cloudy'
T['Cloudy'] = 'Rainy'
T['Rainy'] = 'Sunny'
print(T[input()])

Solution (Python):
S = input()
if S == str("Sunny"):
    print("Cloudy")
elif S == str("Cloudy"):
    print("Rainy")
elif S == str("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()

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

Solution (Python):
S=input()
c=['Sunny','Cloudy','Rainy','Sunny']
for i,n in enumerate(c[:3]):
    if S==n:
        print(c[i+1])
        break

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

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

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

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

Solution (Python):



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

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