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

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

whether = input()
if whether == 'Sunny':
    print('Cloudy')
elif whether == 'Cloudy':
    print('Rainy')
elif whether == '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
if argv[1] == 'Sunny':
  echo "Cloudy"
elif argv[1] == 'Cloudy':
  echo "Rainy"
elif argv[1] == 'Rainy' :
  echo "Sunny"
else:

S = input()
if 'L' in S[::2] or 'R' in S[1::2]:
  print("No")
else:
  print("Yes")


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

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):
a = input()
b = len(a)

for i in range(b):
  if i % 2 == 0:
    if a[i] == 'R' or a[i] == 'U' or a[i] == 'D':
      continue
    else:
      print('No')
      exit()
  elif i % 2 == 1:
    if a[i] == 'L' or a[i] == 'U' or a[i] == 'D':
      continue

    else:
      print('No')
      exit()
      
print('Yes')

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):
from collections import deque
import bisect

N, M = map(int, input().split(" "))
As = [0]+list(map(int, input().split(" ")))
As = sorted(As)
cnt = 0
cnt2 = 1
for _ in range(M):
  i = As[-1-cnt]  
  i = i//(2**cnt2)
  if i < As[-1-cnt-1]:
    cnt += 1
    cnt2 = 1
    bisect.insort_left(As,i)
  else:
    cnt2 += 1

print(sum(As[:-cnt]))


import bisect
import sys

def input():
  return sys.stdin.readline()

weather = {0:"Sunny", 1:"Cloudy", 2:"Rainy"}
n = input()
           
for k, v in weather.items():
  if v == n:
    nk = k
    break

nk = (nk+1) % 3

print(weather[nk])

n = input()
weather = {0:"Sunny", 1:"Cloudy", 2:"Rainy"}

           
for k, v in weather.items():
  if v == n:
    nk = k
    break

nk = (nk+1) % 3

print(weather[nk])

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):
weather=["Sunny","cloudy","Rainy","Sunny"]

S=input()

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

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

S=input()

for i in range(3):
    if(S==weather[i]):
        print(weather[i+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):
S = input()
W = ['Sunny', 'Cloudy', 'Rainy']
for i, w in enumerate(W):
  if S = w:
    print(W[(i+1)%3])
    break

S = input()
W = ['Sunny', 'Cloudy', 'Rainy']
for i, w in enumerate(W):
  if S == w:
    print(W[(i+1)%3])
    break


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 = [int(_) for _ in input().split()]
H = [-int(_) for _ in input().split()]
heapq.heapify(H)
ans = 0
for _ in range(M):
    a = heapq.heappop(H)
    heapq.heappush(H, a / 2)
print(-sum(int(a) for a in H))


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

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()
weather = ['Sunny','Cludy','Rainy']
print(weather[(weather.index(s) + 1) % 3])

s = input()
weather = ['Sunny','Cloudy','Rainy']
print(weather[(weather.index(s) + 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=str(input())
w=["sunny","cloudy","rainy"]
if S=="sunny":
	print(w[1])
elif S=="cloudy":
    print(w[2])
elif S=="rainy":
    print(w[0])

S=str(input())
w=["Sunny","Cloudy","Rainy"]
if S=="Sunny":
	print(w[1])
elif S=="Cloudy":
    print(w[2])
elif S=="Rainy":
    print(w[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):
s = list(input())

def easy_step(s) :
    s_odd = s[::2]
    s_even = s[1::2]
    if ("L" in s_odd) or ("R" in s_even) :
        print("No")
    else :
        print("Yes")
easy_step(s)

s = list(input())
def easy_step(s) :
    s_odd = s[::2]
    s_even = s[1::2]
    if ("L" in s_odd) or ("R" in s_even) :
        print("No")
    else :
        print("Yes")
easy_step(s)

s = input() #str
weather_circle = ("Sunny", "Cloudy", "Rainy") 
def next_day_weather(s) :
    s_number = weather_circle.index(s)
    if s_number < 2 :
        s_number += 1
    else :
        s_number = 0
    print(weather_circle[s_number])
next_day_weather(s)

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):
w = {'Sunny':'Cloud', 'Cloud':'Rainy', 'Rainy':'Sunny'}
print(w[input()])

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

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


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

s = str(input())
a = ['Sunny', 'Cloudy', 'Rainy','Sunny', 'Cloudy', 'Rainy']
print(a[a.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=input()
 
if S == 'Sunny':
	print("Cloudy)
elif S == 'Rainy':
	print('Sunny')
else:
	print('Rainy')

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

S=input()

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

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):
n,k,q = map(int,input().split(" "))
point = [k-q] * n
for i in range(0,q):
    point[int(input())-1] += 1
for j in range(0,n):
    if point[j] > 0:
        print("Yes")
    else:
        print("No")


n,k,q = map(int,input().split(" "))
point = [k-q] * n
for i in range(0,q):
    point[int(input())-1] += 1
for j in range(0,n):
    if point[j] > 0:
        print("Yes")
    else:
        print("No")

n,k,q = map(int,input().split(" "))
point = [k-q] * n
for i in range(0,q):
    point[int(input())-1] += 1
for j in range(0,n):
    if point[j] > 0:
        print("Yes")
    else:
        print("No")

S = input()

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

print(result)

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):
import math
N,M=map(int,input().split())
l = [int(s) for s in input().split()]

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

p = 0
for i in range(N):
  p += l[i]
print(p)  


s = input()

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

for item in list:
  if (item == 'Sunny' and input == 'Sunny':
    print 'Cloudy'
  elif item == 'Cloudy' and input == 'Cloudy':
    print 'Rainy'
  elif item = 'Rainy' and input == 'Rainy':
    print 'Sunny'

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

import sys
input = sys.stdin.readline
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")
else:
  print("Sunny")

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

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


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

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

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


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

Verdicts: 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):
weather = ["Sunny", "Cloudy", "Rainy", "Sunny"]
s = input()
for c, i in weather:
    if i == s:
        print(weather[c+1])
        break

weat = ['Sunny', 'Cloudy', 'Rainy', 'Sunny']
for c in weat:
  if c == S:
    print(weat[weat.index(c)+1])
    break

weather = ["Sunny", "Cloudy", "Rainy", "Sunny"]
s = input()
for c, i in enumerate(weather):
    if i == s:
        print(weather[c+1])
        break

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('Coundy')
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 = open(0).read()
if(S == 'Sunny'):
  print('Cloudy')
if(S == 'Cloudy'):
  print('Rainy')
if(S == 'Rainy'):
  print('Sunny')



S = open(0).read()
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: 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()

So = S[::2]
Se = S[1:2]

if 'L' in So or 'R' in Se:
  print('No')
else:
  print('Yes')

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

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

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

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

Verdicts: 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")
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):
s = str(input())
loop = ["Sunny","Cloudy","Rainy"]
i = loop.index(s)
print(loop((i+1)%3))

s = str(input())
loop = ["Sunny","Cloudy","Rainy"]
i = loop.index(s)
print(loop[(i+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):
tomorrow = {
  'Sunny': 'Cloudy',
  'Cloudy': 'Rainy',
  'Rainy': 'Sunny'
}
print(tomorrow[int(input())])


tomorrow = {
  'Sunny': 'Cloudy',
  'Cloudy': 'Rainy',
  'Rainy': 'Sunny'
};
print(tomorrow[int(input())])

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


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

s=input()
w=('Sunny','Cloudy','Rainy','Sunny')
n=w.index(s)
print(w[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):
import heapq as h

# input
n, m = map(int, input().split())
la = list(map(lambda x: int(x)*-1, input().split()))

h.heapify(la)

while m > 0:
    max = abs(la[0])
    h.heapreplace(la, (max // 2)*-1)
    m -= 1

print(abs(sum(la)))


# input string
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")
  
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):
S = input()

weather_list = ["Sunny", "Cloudy", "Rainy", "Sunny"]
print(weather_list[weather_list.index("S") + 1]) 

S = input()

weather_list = ["Sunny", "Cloudy", "Rainy", "Sunny"]
print(weather_list[weather_list.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 = input()
weather = ["Sunny", "Cloudy", "Rainy"]
a = weather.index(S)
print(weather[(a+1)//3])


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


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):
def calc_length(s: str, l1: int, l2: int, n: int) -> int:
  max_len = min([l2 - l1, n - l2])
  for i in range(1, max_len):
    if s[l1 + i] != s[l2 + i]:
      return i
  return max_len

n = int(input())
s = input()

longest = 0
for l1 in range(n - 2, -1, -1):
  for l2 in range(l1 + longest + 1, n):
    if s[l1] == s[l2]:
      length = calc_length(s, l1, l2, n)
      if length > longest:
        longest = length

print(longest)


weather = input()

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

arr ={"Sunny":"Cloudy","Cloudy":"Rain","Rain":""Cloudy"}
S = input()
print(arr[S])

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


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()
str_list = [*S]
even_str = str_list[0::2]
odd_str = str_list[1::2]
if ("L" in even_str):
  print('No')
elif ("R" in odd_str):
  print('No')
else:
  print('Yes')

import numpy as np
N, K, Q  = map(int, input().split())
score = np.zeros(N)
for i in range(Q):
  num = int(input())
  score[num] += 1

for i in range(N):
  if score[i] > Q-K:
    print('Yes')
  else:
    print('No')

n, m = map(int, input().split())
list = [int(i) for i in input().split()]
while(m):
  num = list.index(max(list))
  m -= 1
print(sum(list))

S = input()
str_list = list(S)
even_str = str_list[0::2]
odd_str = str_list[1::2]
if ('L' in even_str):
  print('No')
elif ('R' in odd_str):
  print('No')
else:
  print('Yes')

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

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

s = input()
print("Cloudy" if s=="Sunny" else "Sunny" if s=="Rainy" 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':
    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):
import numpy as np
N,K,Q=map(int,input().split())
A=[]
for i in range(Q):
    a=int(input())
    A.append(a)

P=[K]*N
P1=np.array(P)
for i in A:
    P1=P1-1
    P1[i-1]=P1[i-1]+1
for i in range(len(P1)):
    if P1[i]>0:
        print('Yes')
    else:
        print('No')

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

WeatherToady = input()
if WeatherToday == "Sunny":
  return "Cloudy"
elif WeatherToday == "Cloudy":
  return "Rainy"
else:
  return "Sunny"


WeatherToady = input("")
if WeatherToday == "Sunny":
  return "Cloudy"
elif WeatherToday == "Cloudy":
  return "Rainy"
else:
  return "Sunny"


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


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


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

weather = ["Sunny", "Cloudy", "Rainy"]
import random
today_weather = random.randint(0,2)
if today_weather == 0:
    print("明日の天気はCloudyです")
elif today_weather == 1:
    print("明日の天気はRainyです")
else:
    print("明日の天気はSunnyです")

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

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

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

Verdicts: 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):
import math

n, m = [int(x) for x in input().split()]
a = list(map(int, input().split()))

a = sorted(a, reverse=True)

for i in range(m):
    a[0] = math.floor(a[0] / 2)
    if a[0] < a[1]:
        a = sorted(a, reverse=True)

print(sum(a))


n, k, q = map(int, input().split())
a = [input() for i in range(q)]

p = [k - q] * n

for i in range(q):
    p[int(a[i]) - 1] += 1

for i in range(n):
    if p[i] > 0:
        print("Yes")
    else:
        print("No")


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()
i = 0
flag = True
for c in s:
  i += 1
  if (i % 2 == 0 and c == "R") or (i % 2 == 1 and c == "L"):
    print("No")
    exit(0)
print("Yes")


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):
#!/usr/bin/env python3
import sys
input = lambda: sys.stdin.readline()
sys.setrecursionlimit(10**8)

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


#!/usr/bin/env python3
import sys
input = lambda: sys.stdin.readline()[:-1]
sys.setrecursionlimit(10**8)

s=input()
l = ["Sunny", "Cloudy", "Rainy","Sunny"]
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=input()
list=[Sunny,Cloudy,Rainy]
print(list[(list.index(S)+1)]%3)

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

S=input()
list=[Sunny,Cloudy,Rainy]
print(list[S])

S=input()
list=[Sunny,Cloudy,Rainy]
print(list[list.index((S)+1)])

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

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

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

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

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

Weather = input()

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




Weather = input()

if Weather == 'Sunny' :
  print('Cloudy')
elif Weather == '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()

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

print("{}".format( (wea.index(s) + 1) % 3))

s = input()
 
wea = ["Sunny", "Cloudy", "Rainy"]
 
print("{}".format(wea[wea.index(s) + 1 % 3])

s = input()
 
wea = ["Sunny", "Cloudy", "Rainy"]
 
print("{}".format( wea[(wea.index(s) + 1) % 3)] )

s = input()
 
wea = ["Sunny", "Cloudy", "Rainy"]
 
print("{}".format(wea[(wea.index(s) + 1) % 3]))

Verdicts: Wrong Answer

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

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


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

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

w = ["Sunny","Cloudy","Rainy"]
s = input()
print(w[(w.index(s)+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 = int(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):
ary = ['Sunny', 'Cloudy', 'Rainy', 'Sunny']

we = input()

print(ary[ary.index(we)])

ary = ['Sunny', 'Cloudy', 'Rainy', 'Sunny']
 
we = input()
 
print(ary[ary.index(we) + 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):
S = input( '今日の天気は？' )

if S == 'Sunny':
    answer = 'Cloudy'
elif S == 'Cloudy':
    answer = 'Rainy'
elif S == 'Rainy':
    answer = 'Sunny'
else:
    answer = '入力間違い【Sunny】【Cloudy】【Rainy】を入力'

print('明日の天気は',answer)

S = input( '今日の天気は？' )

if S == 'Sunny':
    answer = 'Cloudy'
elif S == 'Cloudy':
    answer = 'Rainy'
elif S == 'Rainy':
    answer = 'Sunny'
else:
    answer = '入力間違い【Sunny】【Cloudy】【Rainy】を入力'

print(answer)

S = input()

if S == 'Sunny':
    answer = 'Cloudy'
elif S == 'Cloudy':
    answer = 'Rainy'
elif S == 'Rainy':
    answer = 'Sunny'
else:
    answer = '入力間違い【Sunny】【Cloudy】【Rainy】を入力'

print(answer)

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

s = "Sunny"
c = "Cloudy"
r = "Rainy"

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

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

w = input()
s = "sunny"
c = "cloudy"
r = "rainy"
if w == s:
     print(c)
elif w == c:
     print(r)
else w == r:
     print(s)

w = input()

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

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

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

A = True

for i in S[::2]:
  if i == "L":
    A = False   
for x in S[1::2]:
  if x == "R":
    A = False

if A:
  print("Yes")
else:
  print("No")


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):
n, k, q = list(map(int, input().split()))
score_b = [k - q]*n
for a in range(q):
    score_b[int(input())-1] += 1
for i in score_b:
    if i >0:
        print("Yes")
    else:
        print("No")

s = input()
weather = {"Sunny":"Cloudy",
          "Cloudy":"Rainy",
          "Rainy":"Sunny"}
print(weather[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:
    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 = ['Sunny', 'Cloudy', 'Rainy']
today = input()
prnit(S[(S.index(today)+1)%3])

S = input()
weather = ['Sunny', 'Cloudy', 'Rainy']
print(weather[(weather.index(S)+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()
weather = ["Sunny","Cloudy","Rainy"]

a = weather[s]
print(weather[a+1])

s = input()
weather = ["Sunny","Cloudy","Rainy"]

a = weather[s]
if a == 2:
    print("Sunny")
else:
    print(weather[a+1])

s = input()

for i in range(len(s)):
    if (i+1)% 2 == 0:
        if s[i] == "R":
            print("No")
            exit()
else:
    if s[i] == "L":
        print("No")
        exit()
print("Yes")


s = input()
weather = ["Sunny","Cloudy","Rainy"]

a = weather.index(s)
if a == 2:
    print("Sunny")
else:
    print(weather[a+1])

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

import sys

N = int(input())
S = input()

T = len(S)

for t in reversed(range(T+1)):
    i = 0
    while 0 < len(S[i:i+t-1]) and len(S[i:i+t-1]) <= len(S[i+t-1:]):
        if S[i:i+t-1] in S[i+t-1:]:
            print(len(S[i:i+t-1]))
            sys.exit()
        i += 1
print('0')


#coding:utf-8

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()
b=['Sunny','Cloudy','Rainy']
for i in range(3):
  if i==2:
    print('Sunny')
    break
  if b[i]==a:
    print(b[i+1])

a=input()
b=['Sunny',' Cloudy', 'Rainy']
for i in range(2):
  if i==3:
    print('Sunny')
    break
  if b[i]==a:
    print(b[i+1])


a=input()
b=['Sunny','Cloudy','Rainy']
for i in range(3):
  if i==2:
    print('Sunny')
    break
  if b[i]==a :
    print(b[i+1])
    break

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):
wet = ["Sunny","Cloudy","Rainy"]

if S == wet[0]:
	ptint(wet[1])
elif S == wet[1]:
	ptint(wet[2])
else:
	ptint(wet[0])

S = input()

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

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

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()
l = list(S)

#odd loop
for i in range(0,len(S),2):
    if l[i] == 'L':
        print('NO')
        exit()


for j in range(1, len(S), 2):
    if l[j] == 'R':
        print('NO')
        exit()

print('YES')

S = input()

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

num = weather.index(S)
if num == 2:
    num = -1

print(weather[num + 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):
a = ["Sunny", "cloudy", "Rainy"]
s = input()
for i in range(0, 3):
  if s == a[i]:
    print(a[(i+1)/3])


a = ["Sunny", "cloudy", "Rainy"]
s = input()
for i in range(0, 3):
  if s == a[i]:
    print(a[(i+1)%3])


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


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):
import sys
def main():
    input = sys.stdin.readline
    S = input()
    if S == "Sunny":
        ans = "Cloudy"
    elif S == "Cloudy":
        ans = "Rainy"
    elif S == "Rainy":
        ans = "Sunny"
    print(ans)
if __name__ == '__main__':
    main()

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

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

str = input()
 
if str == "Sunny":
  print("Cloudy")
elif str == "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("Cloudly")
elif s=="Cloudly":
    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):
I = input()
K = ['Sunny', 'Cloudy,''Rainy', 'Sunny']
Idx = K.index(I)
print(K[idx+1])


I = input()
K = ['Sunny', 'Cloudy,''Rainy', 'Sunny']
Idx = K.index(I)
print(K[Idx+1])


I = input()
K = ['Sunny', 'Cloudy', 'Rainy', 'Sunny']
Idx = K.index(I)
print(K[Idx+1])


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

s=input()
wether=['Sunny', 'Cloudy', 'Rainy','Sunny']
for i in range(len(wether)):
  if s==wether[i]:
    print(wether[i+1])
    break

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()
i,b=0,0
while i<len(s):
  if (((s[i]=='R') & (i%2==0))|((s[i]=='L') & (i%2==1))):
    b=1
    break
if(b):
  print('NO')
else:
  print('YES')

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):
weather = ["Sunny", "Cloudy", "Rainy"]
now = input()
print(weather[(now.find()+1) % 3]

now = input()
weather = ["Sunny", "Cloudy", "Rainy"]
print(weather[(weather.index(now) + 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):
N,K,Q = map(int,input().split())
Answer_List = {}
for i in range(Q):
    CA = int(input())
    if CA in Answer_List:
        Answer_List[CA] += 1 
    else:
        Answer_List[CA] = 1
 
Lose_Status = K - Q
if Lose_Status > 0:
    for j in range(N):
        print("Yes")
else:
    Standard = abs(Lose_Status) + 1
    for j in range(N):
        if j + 1 in Answer_List:
            if Answer_List[j + 1] >= Standard:
                print("Yes")
            else:
                print("No")
        else:
                print("No")
            

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

print(Weather_List[Weather_List.index(str(input()))+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):
asdf={"Sunny":0,"Cloudy":1,"Rainy":2}
a=asdf[input()]
a+=1
if a>2:
  a=0
print([k for k, v in d.items() if v == a][0])

asdf={"Sunny":0,"Cloudy":1,"Rainy":2}
a=asdf[input()]
a+=1
if a>2:
  a=0
print([k for k, v in asdf.items() if v == a][0])

Verdicts: Runtime Error

Accepted