TnT/Multi_CodeNet4Repair huggingface dataset:
Problem: 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.

Submission attempts (in order):
S = input()
if S = 'Sunny':
  print('Cloudy')
elif S = 'Cloudy':
  print('Rainy')
else:
  print('Sunny')


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


Verdicts: Runtime Error

Accepted
Problem: 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.

Submission attempts (in order):
S = list(input())
i = 0
for s in range(len(S)):
  t = s + 1
  if S[s] == "U" or S[s] =="D":
    i += 1
  if t%2 !=0 :
    if S[s] == "R":
      i +=1
  if t%2==0:
    if S[s] == "L":
      i += 1
if i == len(S):
  print("Yes")
else:
  print("No")

wet_list = ["Sunny", "Cloudy", "Rainy"]
S = input()
a = wet_list.index(S)

if a<2:
    print(wet_list[a+1])
else:
    print(wet_list[0])

Verdicts: Wrong Answer

Accepted
Problem: 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.

Submission attempts (in order):
l = ["Sunny", "Cluody", "Rainy", "Sunny"]
s = input()
print(l[l.index(s)+1])

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

Verdicts: Runtime Error

Accepted
Problem: 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.

Submission attempts (in order):
s=input()
if s==‘Sunny’:
    print(‘Cloudy’)
elif s==‘Cloudy’:
    print(‘Rainy’)
elif s==‘Rainy’:
    print(‘Sunny’)

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

Verdicts: Runtime Error

Accepted
Problem: 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.

Submission attempts (in order):
n = input()
if n is "Sunny":
  print("Cloudy")
if n is "Cloudy":
  print("Rainy")
if n is "Rainy":
  print("Sunny")

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


Verdicts: Wrong Answer

Accepted
Problem: 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.

Submission attempts (in order):
s = input()
if s == "Sunny"
print("Cloudy")
elif s == "Cloudy"
print("Rainy")
elif s == "Rainy"
print("Sunny")

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

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

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

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

S=input()
if s=Sunny:
    print('Cloudy')
if s=Cloudy:
    print('Rainy')
eise:
    print('Sunny')

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

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

Verdicts: Runtime Error

Runtime Error

Runtime Error

Runtime Error

Runtime Error

Runtime Error

Runtime Error

Accepted
Problem: 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.

Submission attempts (in order):
s = input()
if s[0] = "S": print("Cloudy")
if s[0] = "C": print("Rainy")
else: print("Sunny")

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


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


Verdicts: Runtime Error

Wrong Answer

Accepted
Problem: 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.

Submission attempts (in order):
s=input()

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

s=input()

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

Verdicts: Runtime Error

Accepted
Problem: 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.

Submission attempts (in order):

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


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

Verdicts: Runtime Error

Accepted
Problem: 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.

Submission attempts (in order):
s = input()
if s = 'Sunny':
    ans = 'Cloudy'
elif s = 'Cloudy':
    ans = 'Rainy'
else:
    ans = 'Sunny'
print(ans)


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


Verdicts: Runtime Error

Accepted
Problem: 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.

Submission attempts (in order):
S = input()
sun = "Sunny"
clo = "Cloudy"
rai = "Rainy"
if S == sun:
    print(clo)
    print("In Takahashi's town, a sunny day is followed by a cloudy day.")
elif S == rai:
    print(sun)

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

Verdicts: Wrong Answer

Accepted
Problem: 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.

Submission attempts (in order):
import random
a = random.randint(1,3)
if a == 1:
    print("Cloudy")
elif a == 2:
    print("Sunny")
else:
    print("Rainy")


import random
a = random.randint(1,3)
if a == 1:
    print("Cloudy")
elif a == 2:
    print("Sunny")
else:
    print("Rainy")


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

Verdicts: Wrong Answer

Wrong Answer

Accepted
Problem: 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.

Submission attempts (in order):
import random

w = input()

f = random.randint(0, 2)

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

import random

w = input()

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

Verdicts: Wrong Answer

Accepted
Problem: 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.

Submission attempts (in order):
S=input()
if S=='Sunny':
  print('Cloudy')
elif S='Cloudy':
  print('Rainy')
else:
  print('Sunny')
  

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



Verdicts: Runtime Error

Accepted
Problem: 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.

Submission attempts (in order):
S = input()
flag = True
 
for i in range(len(S)):
  if i%2==0 and S[i] == "R":
    print('No')
    flag = False
    break
  elif i%2==1 and S[i] == "L":
    print('No')
    flag = False
    break
if flag:
  print('Yes')

s=input()
flag=True
for i in range(len(s)):
  if i%2==1 and s[i]=="R":
    flag=False
    break
  elif i%2==0 and s[i]=="L":
    flag = False
    break
if flag:
  print('Yes')
else:
  print('No')


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

Verdicts: Wrong Answer

Wrong Answer

Accepted
Problem: 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.

Submission attempts (in order):
s = input()

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

print(ans)


s = input()

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

print(ans)


Verdicts: Wrong Answer

Accepted
Problem: 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.

Submission attempts (in order):
s=str(input())
if s='Sunny':
    print('Cloudy')
elif s='Cloudy':
    print('Rainy')
else:
    print('Sunny')

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

    

Verdicts: Runtime Error

Accepted
Problem: 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.

Submission attempts (in order):
s=input()
if s=="Sunny":
    print("Cloidy")
elif s=="Cloudy":
    print("Rainy")
else:
    print("Sunny")

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


Verdicts: Wrong Answer

Accepted
Problem: 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.

Submission attempts (in order):
S = input()
if S = "Sunny":
  print("Cloudy")
if S = "Cloudy":
  print("Rainy")
else:
  print("Sunny")

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

Verdicts: Runtime Error

Accepted
Problem: 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.

Submission attempts (in order):

import numpy as np

def solve(NS):
    N = NS[0]
    S = NS[1:]
    dp=np.zeros((N+1,N+1),dtype=int)
    for i in range(N - 1):
        for j in range(i + 1, N):
            dp[i][j] = min(j - i, dp[i - 1][j - 1] + 1) if S[i] == S[j] else 0
    return dp.max()

def main():
    NS = np.array([int(input())] + [ord(_) for _ in input()])
    print(solve(NS))

def cc_export():
    from numba.pycc import CC
    cc = CC('my_module')
    cc.export('solve', 'i8(i8[:])')(solve)
    cc.compile()

if __name__ == '__main__':
    import sys
    if sys.argv[-1] == 'ONLINE_JUDGE':
        cc_export()
        exit(0)
    from my_module import solve
    main()


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


Verdicts: Runtime Error

Accepted
Problem: 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.

Submission attempts (in order):
a = input()
if a == 'Sunny':
  print('Cloudy')
if a == 'Cloudy':
  print('Rainy')
else:
  print('Sunny')

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


Verdicts: Wrong Answer

Accepted
Problem: 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.

Submission attempts (in order):
s = input()
if s == "Sunny":
    print("Cloudy")
elif s == "Cloudy":
    print("Rainy"):
else:
    print("Sunny")
    

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

Verdicts: Runtime Error

Accepted
Problem: 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.

Submission attempts (in order):
import heapq

N, M = map(int, input().split())
A = list(map(lambda x: int(x)*(-1), input().split()))
heapq.heapify(A)

for _ in range(M):
    tmp = heapq.heappop(A)
    heapq.heappush(A, tmp/2)

A = map(lambda x: int(x)*(-1), A)

print(sum(A))

S = input()

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

Verdicts: Runtime Error

Accepted
Problem: 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.

Submission attempts (in order):
#Sunny
#Cloudy
#Rainy

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




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

Verdicts: Runtime Error

Accepted
Problem: 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.

Submission attempts (in order):
s = input()

if s == "sunny":
    print("cloudy")

elif s == "cloudy":
    print("rainy")
    
else:
    print("sunny")

s = input()

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

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

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

Verdicts: Wrong Answer

Accepted
Problem: 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.

Submission attempts (in order):
a = {'Sunny' : 'Cloudy', 'Cloudy': 'Rainy', 'Rainy': 'Sunny')
s = input()
print(a[s])

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


Verdicts: Runtime Error

Accepted
Problem: 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.

Submission attempts (in order):
S = input()
if(S == "Sunny"):
  print("Cloudy")
elif(S == "Cloudy"):
  print("Rainy")
else;
  print("Sunny")

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

Verdicts: Runtime Error

Accepted
Problem: 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.

Submission attempts (in order):
n,k,q=map(int,input().split())
L= [ int(input()) for i in range(q)]
N = [ k-q+L.count(i) for i in range(1,n+1) ]
for i in N:
    print('YES' if i>0 else 'NO')


n=input()
L=["Sunny","Cloudy","Rainy"]
if n == L[2]:
  print(L[0])
else:
  print(L[L.index(n)+1])

Verdicts: Runtime Error

Accepted
Problem: 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.

Submission attempts (in order):
S = input()
if S == "Sunny":
    print("Cloudy")
    print("In Takahashi's town, a sunny day is followed by a cloudy day.")
elif S == "Rainy":
    print("Sunny")

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

    


Verdicts: Wrong Answer

Accepted
Problem: 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.

Submission attempts (in order):
input_weather=input()

if(input_weather=="Sunny"):
    print("Clowdy")
elif(input_weather=="Clowdy"):
    print("Rainy")
else:
    print("Sunny")

input_weather=input()

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

Verdicts: Wrong Answer

Accepted
Problem: 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.

Submission attempts (in order):
if S == 'Sunny'
    print('Cloudy')
elif S == 'Cloudy'
    print('Rainy')
else:
    print('Sunny')

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

S = input()

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

Verdicts: Runtime Error

Runtime Error

Accepted
Problem: 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.

Submission attempts (in order):
s = input()
if s == "Sunny":
    print("Cloudy")
elif:
    print("Rainy")
else:
    print("Sunny")  

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

Verdicts: Runtime Error

Accepted
Problem: 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.

Submission attempts (in order):
s=input()
print("Sunny" if s=="Rainy" else "Cloud" if s=="Sunny" else "Rainy")



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

Verdicts: Wrong Answer

Accepted
Problem: 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.

Submission attempts (in order):
s = input()

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

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

# -*- coding: utf-8 -*-
import sys
input = sys.stdin.readline

# Input
s = [input() for i in range(2)]

N = int(s[0].split()[0])
M = int(s[0].split()[1])
A = list(map(int, s[1].split()))

A.sort(reverse=True)


for i in range(M):
    A[A.index(max(A))] = max(A) // 2

P = sum(A)

# Output
print(P)


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


Verdicts: Runtime Error

Runtime Error

Runtime Error

Accepted
Problem: 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.

Submission attempts (in order):
s = input()

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


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

Verdicts: Runtime Error

Accepted
Problem: 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.

Submission attempts (in order):
S = input()

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

print('Sunny')

S = input()

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

Verdicts: Wrong Answer

Accepted
Problem: 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.

Submission attempts (in order):
s=input()
if s == Sunny:
  print(Cloudy)
if s== Cloudy:
  print(Rainy)
if s== Rainy:
  print(Sunny)

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

Verdicts: Runtime Error

Accepted
Problem: 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.

Submission attempts (in order):

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

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

Verdicts: Runtime Error

Accepted
Problem: 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.

Submission attempts (in order):
N, M = map(int, input().split())
A = [int(_) for _ in input().split()]

while M != 0:
  ind = A.index(max(A))
  A[ind] = A[ind] // 2
  M -= 1
  
print(sum(A))

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)

Verdicts: Runtime Error

Accepted
Problem: 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.

Submission attempts (in order):
s = input()
if s == 'Sunny':
  print('Cloudy')
elid s == 'Cloudy':
  print('Rainy')
else:
  print('Sunny')

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


Verdicts: Runtime Error

Accepted
Problem: 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.

Submission attempts (in order):
weather = input()

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

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

Verdicts: Runtime Error

Accepted
Problem: 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.

Submission attempts (in order):
s= input()
list = ['Sunny', 'Cloudy', 'Rainy']

for i in range(3):
	if s==list[i]:
		print(list[i])

s= input()
list = ['Sunny', 'Cloudy', 'Rainy', 'Sunny']

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

Verdicts: Wrong Answer

Accepted
Problem: 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.

Submission attempts (in order):
if S=="Sunny":
    print(Cloudy)
if S=="Cloudy":
    print(Rainy)
if S=="Rainy":
    print(Sunny)

def S:
    sample_list = ['Sunny', 'Cloudy', 'Rainy']
random.shuffle(sample_list)
print sample_list
if S==Sunny:
  print(Cloudy)
if S==Cloudy:
  print(Rainy)
if S==Rainy:
  print(Sunny)


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


Verdicts: Runtime Error

Runtime Error

Accepted
Problem: 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.

Submission attempts (in order):
S = str(input())
print(S)

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

Verdicts: Wrong Answer

Accepted
Problem: 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.

Submission attempts (in order):
S = input()

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

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

elif:
    print('Sunny')




S = input()

if S == 'Sunny':
    answer =('cloudy')

elif S == 'cloudy':
    answer =('Rainy')

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

print=answer


S = input()

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

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

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


S = input()

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

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

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

S = input()

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

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

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


S = input()

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

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

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




Verdicts: Runtime Error

Runtime Error

Wrong Answer

Wrong Answer

Wrong Answer

Accepted
Problem: 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.

Submission attempts (in order):
s=input()
if s="Sunny":
  print("Cloudy")
if s="Cloudy":
  print("Rainy")
else:
  print("Sunny")

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


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

Verdicts: Runtime Error

Wrong Answer

Accepted
Problem: 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.

Submission attempts (in order):
n, k = [int(x) for x in (input().split())]
a = [int(x) for x in (input().split())]

for i in range(n):
	if a[i] == 1:
		print(i)


s = input()

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



Verdicts: Runtime Error

Accepted
Problem: 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.

Submission attempts (in order):
S = input()
w = ['Sunny', 'Cloudy', 'Rainy']

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

print(w[a])

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

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

print(w[a+1])

Verdicts: Wrong Answer

Accepted
Problem: 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.

Submission attempts (in order):
N, K, Q = (int(x) for x in input().split())
A = [int(input()) for i in range(Q)]
ans = [K-Q for i in range(N)]

for a in A:
    ans[a-1] += 1

for b in ans:
    if b > 0:
        print("Yes")
    else:
        print("No")


S = input()

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

Verdicts: Runtime Error

Accepted
Problem: 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.

Submission attempts (in order):
n,k,q=map(int,input().split())
l=[k for i in range(n)]
for j in range(q):
    k=int(input())
    for i in range(n):
        if i!=k-1:
            l[i]-=1
for i in l:
    if(i<=0):
        print("No")
    else:
        print("Yes")

s=input()
l=["Sunny","Cloudy","Rainy"]
if(s=='Rainy'):
    print("Sunny")
else:
    print(l[l.index(s)+1])

Verdicts: Runtime Error

Accepted
Problem: 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.

Submission attempts (in order):
S = str(input())
OK = 0
for num,pol in enumerate(S):
  if num%2 == 1:
    if pol == 'R':
      OK = 1
    elif pol == 'L':
      OK = 1
if OK == 0:
  print('OK')
else:
  print('NG')

x = str(input())
if x == 'Sunny':
   y = 'Cloudy'
elif x == 'Cloudy':
  y = 'Rainy'
else:
  y = 'Sunny'

print(y)

Verdicts: Wrong Answer

Accepted
Problem: 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.

Submission attempts (in order):
S = input()
#print(S)

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


S = input()
#print(S)

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


Verdicts: Wrong Answer

Accepted
Problem: 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.

Submission attempts (in order):
S = input ()

even_clear = 0
odd_clear = 0
number = 1

for value in S:
    if number % 2 == 0 and  not value == "R":
        even_clear += 1
    elif  not value == "L":
        odd_clear += 1
    number += 1

S_length = len(S)

if S_length == (even_clear + odd_clear):
    print("Yes")
else:
    print("No")

S = input ()

even_clear = 0
odd_clear = 0
number = 1

for value in S:
    if number % 2 == 0 and  not value == "R":
        even_clear += 1

    elif number % 2 == 1  and not value == "L":
        odd_clear += 1
    number += 1

number_pop = number - 1

if number_pop == (even_clear + odd_clear):
    print("Yes")
else:
    print("No")

x = "Sunny"
y = "Cloudy"
z = "Rainy"

S = input()

if S == x:
    print(y)

if S == y:
    print(z)

else:
    print(x)

S = input ()

even_clear = 0
odd_clear = 0
number = 1

for value in S:
    if number % 2 == 0 and  not value == "R":
        even_clear += 1
    elif  not value == "L":
        odd_clear += 1
    number += 1

S_length = len(S)

if S_length == (even_clear + odd_clear):
    print("Yes")
else:
    print("No")

x = "Sunny"
y = "Cloudy"
z = "Rainy"

S = input()

if S == x:
    print(y)

if S == y:
    print(z)

if S == z:
    print(x)

Verdicts: Wrong Answer

Wrong Answer

Wrong Answer

Wrong Answer

Accepted
Problem: 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.

Submission attempts (in order):
import random
from collections import defaultdict
from itertools import accumulate
import sys
input = sys.stdin.readline
n = int(input())
s = input().rstrip()
mod = (1<<61)-1
base = 1000+random.randint(0,100)
power = [1]
for i in range(1,n):
  power.append((power[-1]*base)%mod)
hvalue = [0]
for i in range(n):
  hvalue.append((hvalue[-1]+(ord(s[i])*power[i]))%mod)
def rollinghash(l,r):
  return ((hvalue[r]-hvalue[l])*power[n-r])%mod
def pun(i):
  dc = defaultdict(int)
  if i>n//2:
    return False
  for j in range(n-i+1):
    x = rollinghash(j,i+j)
    if dc[x]:
      rg =dc[x]
      if rg<=j:
        return True
      else:
        dc[x] = i+j
  return False
l=0
r=n//2+1
while l+1<r:
  mi=(l+r)//2
  if pun(mi):
    l=mi
  else:
    r=mi
print(l)


import random
from collections import defaultdict
from itertools import accumulate
import sys
input = sys.stdin.readline
n = int(input())
s = input().rstrip()
mod = (1<<61)-1
base = 1000+random.randint(0,100)
power = [1]
for i in range(1,n):
  power.append((power[-1]*base)%mod)
hvalue = [0]
for i in range(n):
  hvalue.append((hvalue[-1]+(ord(s[i])*power[i]))%mod)
def rollinghash(l,r):
  return ((hvalue[r]-hvalue[l])*power[n-r])%mod
def pun(i):
  dc = defaultdict(int)
  if i>n//2:
    return False
  for j in range(n-i+1):
    x = rollinghash(j,i+j)
    if dc[x]:
      rg =dc[x]
      if rg<=j:
        return True
      else:
        dc[x] = i+j
  return False
l=0
r=n//2+1
while l+1<r:
  mi=(l+r)//2
  if pun(mi):
    l=mi
  else:
    r=mi
print(l)

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

Verdicts: Runtime Error

Runtime Error

Accepted
Problem: 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.

Submission attempts (in order):
import sys
s = sys.argv
weathers = ['Sunny', 'Cloudy', 'Rainy']
for i, weather in enumerate(weathers):
    if s == weather:
        return weathers[i+1]

import sys
s = sys.argv[0]
weathers = ['Sunny', 'Cloudy', 'Rainy']
for i, weather in enumerate(weathers):
    if s == weather:
        print(weathers[(i+1)%3])

n, m, *a = map(int, open(0).read().split())
new_a = sorted(a, key=lambda x: -x)
sum = 0
for _ in range(m):
    new_a[0] /= 2
    new_a.sort(key=lambda x: -x)
for price in new_a:
    sum += int(price)
print(sum)

import sys
s = sys.argv
weathers = ['Sunny', 'Cloudy', 'Rainy']
for i, weather in enumerate(weathers):
    if s == weather:
        print(weathers[(i+1)%3])

import sys
s = sys.argv
weathers = ['Sunny', 'Cloudy', 'Rainy']
for i, weather in enumerate(weathers):
    if s == weather:
        return weathers[(i+1)%3]

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

Verdicts: Runtime Error

Wrong Answer

Runtime Error

Wrong Answer

Runtime Error

Accepted
Problem: 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.

Submission attempts (in order):
s=input()
if s[0]=='S':
   print('Cloudy')
else if s[0]=='C':
   print('Rainy')
else:
   print('Sunny')


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


Verdicts: Runtime Error

Accepted
Problem: 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.

Submission attempts (in order):
import sys
input = sys.stdin.readline
sys.setrecursionlimit(10 ** 7)

p=input()

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


# coding: utf-8
# Your code here!


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(i)
        print(weather[(i+1)%3])
    #print(i)
    #print(weather[(i+1)%3])
#print(p)


Verdicts: Wrong Answer

Accepted
Problem: 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.

Submission attempts (in order):
N,M=map(int,input().split())
A=list(map(int,input().split()))
A.sort(reverse=True)
t=0
while True:
  maxi=A[0]
  if len(A)>1 :
    maxi_2=A[1]
    t+=1
    maxi=maxi//2
    if t==M :
      A[0]=maxi
      break
    elif maxi_2>maxi :
      A[0]=maxi_2
      A[1]=maxi
      for i in range(1,N):
        if A[i]<A[i+1]:
          A[i]=A[i+1]
          A[i+1]=maxi
        else:
          break     
      continue
    else:
      continue
  else :
    maxi=maxi//(2**M)
    A[0]=maxi
    break

amount=sum(A)
print(amount)

L=list(map(int,input().split()))
N=L[0]
K=L[1]
Q=L[2]
point=[K-Q]*N
for i in range(Q):
  ans=int(input())
  point[ans-1]+=1
for i in range(N):
  if point[i]>0 :
    print("Yes")
  else:
    print("No")

s=input()

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


Verdicts: Runtime Error

Runtime Error

Accepted
Problem: 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.

Submission attempts (in order):
import numpy as np

N, M = map(int, input().split())

goods = np.array(list(map(int, input().split())))

for i in range(M):
    max_value = max(goods)
    max_index = np.where(goods == max_value)[0]
    goods[max_index] = goods[max_index]//2
    
sum_value = sum(goods)

print(sum_value)


S = input()

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

i = l.index(S)

if i == 0:
  print('Cloudy')
elif i == 1:
  print('Rainy')
elif i == 2:
  print('Sunny')


Verdicts: Runtime Error

Accepted
Problem: 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.

Submission attempts (in order):
S = input()
if S = Sunny:
  print("Cloudy")
elif S = Cloudy:
  print("Rainy")
else:
  print("Sunny")

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

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

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

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

Verdicts: Runtime Error

Runtime Error

Runtime Error

Wrong Answer

Accepted
Problem: 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.

Submission attempts (in order):
import sys
input = sys.stdin.readline
 
def main():
    S = input()
    if S == 'Sunny':
        print('Cloudy')
    elif S == 'Cloudy':
        print('Rainy')
    elif S == 'Rainy':
        print('Sunny')

if __name__ == '__main__':
    main()

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

if __name__ == '__main__':
    main()

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

if __name__ == '__main__':
    main()

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

Verdicts: Wrong Answer

Runtime Error

Wrong Answer

Accepted
Problem: 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.

Submission attempts (in order):
#! /usr/bin/env python3
# -*- coding:utf-8 -*-

def attackSurvival(n, k, q, a):
    ans = []
    import collections
    c = collections.Counter(a)
    for i in range(n):
        if c[i+1] > q - k: ans.append('Yes')
        else: ans.append('No')
    return ans

def main():
    n, k, q = filter(int, input().split())
    a = []
    for _ in range(q):
        a.append(int(input()))
    attackSurvival(n, k, q, a)

if __name__ == '__main__':
    main()


#! /usr/bin/env python3
# -*- coding:utf-8 -*-

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

def next_weather(s):
    return WEATHER[(WEATHER.index(s)+1)%len(WEATHER)]

def main():
    s = input()
    print(next_weather(s))

if __name__ == "__main__":
    main()


Verdicts: Runtime Error

Accepted
Problem: 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.

Submission attempts (in order):


mys = input()

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

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

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














mys = input()
 
if mys == 'Sunny':
  print('Cloudy')

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

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

Verdicts: Runtime Error

Accepted
Problem: 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.

Submission attempts (in order):
s=input()

Sunny, Cloudy, Rainy

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


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

Verdicts: Runtime Error

Accepted
Problem: 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.

Submission attempts (in order):
S==input()
if S==Sunny:
  print('Cloudy')
elif S==Cloudy:
  print('Rainy')
elif S==Rainy:
  print('Sunny')

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

Verdicts: Runtime Error

Accepted
Problem: 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.

Submission attempts (in order):
n = int(input())
s = list(input())

dp = [[0] * n for _ in range(n)]
for i in range(n-1, -1, -1):
    for j in range(n-1, -1, -1):
        if s[i] == s[j]:
            if j+1 <= n-1 and i+1 <= n-1:
                dp[i][j] = dp[i+1][j+1] + 1
            else:
                dp[i][j] = 1
                
for i in range(n):
    for j in range(n):
        dp[i][j] = min(abs(i-j), dp[i][j])

ans = 0
for i in range(n):
    ans = max(ans, max(dp[i]))
print(ans)

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

print(ans)

Verdicts: Runtime Error

Accepted
Problem: 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.

Submission attempts (in order):
S=str(input())
i=int()
0 <= i <= len(S)//2
if S[i*2]=="L":
    print("No")
elif S[i*2+1]=="R":
    print("No")
else :
    print("Yes")


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


Verdicts: Wrong Answer

Accepted
Problem: 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.

Submission attempts (in order):
import sys
input = sys.stdin.readline

S = list(map(int, input().split()))
N = S[0]
M = S[1]
A = list(map(int, input().split()))


for _ in range(M):
    A[A.index(max(A))] //= 2

print(sum(A))


S = input()


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


Verdicts: Runtime Error

Accepted
Problem: 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.

Submission attempts (in order):
weathers = ['Sunny', 'Rainy', 'Cloudy']
now = input()
now_index = weathers.index(now)
next_index = (now_index + 1) % len(weathers)
print(weathers[next_index])

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


Verdicts: Wrong Answer

Accepted
Problem: 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.

Submission attempts (in order):
a = input()
if (a == "Sunny"):
  print("Cloud")
elif (a == "Cloud"):
  print("Rainy")
elif (a == "Rainy"):
  print("Sunny")

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

Verdicts: Wrong Answer

Accepted
Problem: 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.

Submission attempts (in order):
N = int(input())
if N =="Sunny":
    ans="Cloudy"
elif N=="Cloudy":
    ans="Rainy"
elif N=="Rainy":
    ans="Sunny"
print(ans)

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

Verdicts: Runtime Error

Accepted
Problem: 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.

Submission attempts (in order):
n, k, q = map(int, input().split())

adict = {i + 1: k for i in range(n)}

answer = [int(input()) for _ in range(q)]

for k, v in adict.items():
    adict[k] = v - (q - answer.count(k))

    if adict[k] > 0:
        print('Yes')
    else:
        print('No')

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

i = input()

print(d[i])

Verdicts: Runtime Error

Accepted
Problem: 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.

Submission attempts (in order):
a = input()
if a == "Sunny":
  print("Cloudy")
elif a == 'Cloudy':
  print('Rainy'):
elif a == 'Rainy':
  print('Sunny')

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


Verdicts: Runtime Error

Accepted