TnT/Multi_CodeNet4Repair huggingface dataset:
Problem: Takahashi is solving quizzes. He has easily solved all but the last one.  The last quiz has three choices: 1, 2, and 3.  With his supernatural power, Takahashi has found out that the choices A and B are both wrong.  Print the correct choice for this problem.

Submission attempts (in order):
a = int(input())
b = int(input())

if (a==1) and (b==2):
  print(3)
if (a==1) and (b==3):
  print(2)
if (a==2) and (b==3):
  print(1)

a = int(input())
b = int(input())

if (a==1) | (b==2):
  print(3)
if (a==1) | (b==3):
  print(2)
if (a==2) | (b==3):
  print(1)

a = int(input())
b = int(input())

if (a==1) and (b==2):
  print(3)
if (a==1) and (b==3):
  print(2)
if (a==2) and (b==1):
  print(3)
if (a==2) and (b==3):
  print(1)
if (a==3) and (b==1):
  print(2)
if (a==3) and (b==2):
  print(1)

Verdicts: Wrong Answer

Wrong Answer

Accepted
Problem: Takahashi is solving quizzes. He has easily solved all but the last one.  The last quiz has three choices: 1, 2, and 3.  With his supernatural power, Takahashi has found out that the choices A and B are both wrong.  Print the correct choice for this problem.

Submission attempts (in order):
a=int(input())
b=int(input())
if a==1 or b==2:
  print(3)
elif a==2 or b==1:
  print(3)
elif a==3 or b==1:
  print(2)
elif a==3 or b==2:
  print(1)
elif a==1 or b==3:
  print(2)
elif a==2 or b==3:
  print(1)

a=int(input())
b=int(input())
if a==1 and b==2:
  print(3)
elif a==2 and b==1:
  print(3)
elif a==3 and b==1:
  print(2)
elif a==3 and b==2:
  print(1)
elif a==1 and b==3:
  print(2)
elif a==2 and b==3:
  print(1)

Verdicts: Wrong Answer

Accepted
Problem: Takahashi is solving quizzes. He has easily solved all but the last one.  The last quiz has three choices: 1, 2, and 3.  With his supernatural power, Takahashi has found out that the choices A and B are both wrong.  Print the correct choice for this problem.

Submission attempts (in order):
a = int(input())
b = int(input())
if a == 2 and b == 3:
    print('2')
elif a == 1 and b == 2:
    print('3')
else:
    print('1')


a = int(input())
b = int(input())
if a == 2 and b == 3 or b == 2 and a == 3:
    print('1')
elif a == 1 and b == 2 or b == 1 and a == 2:
    print('3')
else:
    print('2')


Verdicts: Wrong Answer

Accepted
Problem: Takahashi is solving quizzes. He has easily solved all but the last one.  The last quiz has three choices: 1, 2, and 3.  With his supernatural power, Takahashi has found out that the choices A and B are both wrong.  Print the correct choice for this problem.

Submission attempts (in order):
a=int(input())
b=int(input())

list=[1, 2, 3]

list.pop(a)
list.pop(b)

print(list[0])

a=int(input())
b=int(input())

list=[1, 2, 3]

list.remove(a)
list.remove(b)

print(list[0])

Verdicts: Runtime Error

Accepted
Problem: Takahashi is solving quizzes. He has easily solved all but the last one.  The last quiz has three choices: 1, 2, and 3.  With his supernatural power, Takahashi has found out that the choices A and B are both wrong.  Print the correct choice for this problem.

Submission attempts (in order):
n=input()
m=int(n)
e2=0
e5=0

while m>1:
    if m%5!=0 and m%2!=0:
        continue
    m2=m
    m5=m
    while m2%2==0:
        e2=e2+1
        m2=m2/2
    while m5%5==0:
        e5=e5+1
        m5=m5/5
    m=m-2

print(min(e2,e5))


m=int(n)
e2=0
e5=0

while m>1:
    if m%5!=0 and m%2!=0:
        continue
    m2=m
    m5=m
    while m2%2==0:
        e2=e2+1
        m2=m2/2
    while m5%5==0:
        e5=e5+1
        m5=m5/5
    m=m-2

print(min(e2,e5))


A = int(input())  
B = int(input())  

print(6-A-B)


Verdicts: Wrong Answer

Runtime Error

Accepted
Problem: Takahashi is solving quizzes. He has easily solved all but the last one.  The last quiz has three choices: 1, 2, and 3.  With his supernatural power, Takahashi has found out that the choices A and B are both wrong.  Print the correct choice for this problem.

Submission attempts (in order):
a=int(input())
b=int(input())
l=[]
l.append(a)
l.append(b)
if '1' not in l:
  print(1)
elif '2' not in l:
  print(2)
else:
  print(3)

a=int(input())
b=int(input())
l=[]
l.append(a)
l.append(b)
if 1 not in l:
  print(1)
elif 2 not in l:
  print(2)
else:
  print(3)


Verdicts: Wrong Answer

Accepted
Problem: Takahashi is solving quizzes. He has easily solved all but the last one.  The last quiz has three choices: 1, 2, and 3.  With his supernatural power, Takahashi has found out that the choices A and B are both wrong.  Print the correct choice for this problem.

Submission attempts (in order):
import numpy as np 

n,u,v=map(int, input().split())
S = []
for _ in range(n-1):
    S.append(list(map(int, input().split())))

pt= [[0]*0 for i in range(n)] 
for i in range(n-1):
    pt[S[i][0]-1].append(S[i][1])
    pt[S[i][1]-1].append(S[i][0])

def bfs(v):
    d=[-1]*n
    d[v-1]=0
    q=[v]
    c=1
    while q:
        q1=[]
        for i in q:
            for j in pt[i-1]:
                if d[j-1]==-1:
                    d[j-1]=c
                    q1.append(j)
        q=q1
        c+=1
        #print(d,q)
    return d
bfs_v=np.array(bfs(v))
bfs_u=np.array(bfs(u))
bfs_v_replace=bfs_v[bfs_v>bfs_u]
answer=np.max(bfs_v_replace)-1
print("{}".format(answer))

a = int(input())
b = int(input())

print("{}".format(6-a-b))

Verdicts: Runtime Error

Accepted
Problem: Takahashi is solving quizzes. He has easily solved all but the last one.  The last quiz has three choices: 1, 2, and 3.  With his supernatural power, Takahashi has found out that the choices A and B are both wrong.  Print the correct choice for this problem.

Submission attempts (in order):
print('Input your wrong answer')
A = input('>>')
a = int(A)
B = input('>>')
b = int(B)
c = a + b

if c == 3:
    print('3')
if c == 5:
    print('1')
if c == 4:
    print('2')


A = input()
a = int(A)
B = input()
b = int(B)
c = a + b

if c == 3:
    print('3')
if c == 5:
    print('1')
if c == 4:
    print('2')


Verdicts: Wrong Answer

Accepted
Problem: Takahashi is solving quizzes. He has easily solved all but the last one.  The last quiz has three choices: 1, 2, and 3.  With his supernatural power, Takahashi has found out that the choices A and B are both wrong.  Print the correct choice for this problem.

Submission attempts (in order):
n=int(input())
a=list(map(int,input().split()))
ans=[0]*n
c=1
for i in range(n):
  if a[i]==c:
    ans[i]=1
    c+=1
print(n-sum(ans))    

a=int(input())
b=int(input())
print(6-a-b)

Verdicts: Runtime Error

Accepted
Problem: Takahashi is solving quizzes. He has easily solved all but the last one.  The last quiz has three choices: 1, 2, and 3.  With his supernatural power, Takahashi has found out that the choices A and B are both wrong.  Print the correct choice for this problem.

Submission attempts (in order):
list = [1,2,3]
a = int(input())
b = int(input())
if a and b in list:
    list.remove(a)
    list.remove(b)
print(list)

list = [1,2,3]
a = int(input())
b = int(input())
if a and b in list:
    list.remove(a)
    list.remove(b)
for i in list:
    print(i)

Verdicts: Wrong Answer

Accepted
Problem: Takahashi is solving quizzes. He has easily solved all but the last one.  The last quiz has three choices: 1, 2, and 3.  With his supernatural power, Takahashi has found out that the choices A and B are both wrong.  Print the correct choice for this problem.

Submission attempts (in order):
A = input().split()
B = input().split()

Cor = 6-int(A)-int(B)
print(Cor)

A, B = input().split()

Cor = 6-int(A)-int(B)
print(Cor)

A = input()
B = input()

Cor = 6-(int(A)+int(B))
print(Cor)

Verdicts: Runtime Error

Runtime Error

Accepted
Problem: Takahashi is solving quizzes. He has easily solved all but the last one.  The last quiz has three choices: 1, 2, and 3.  With his supernatural power, Takahashi has found out that the choices A and B are both wrong.  Print the correct choice for this problem.

Submission attempts (in order):
a=int(input())
b=int(input())
s=[1,2,3]
s.remove(a)
s.remove(b)
print(s)


a=int(input())
b=int(input())
s=[1,2,3]
s.remove(a)
s.remove(b)
print(s[0])


Verdicts: Wrong Answer

Accepted
Problem: Takahashi is solving quizzes. He has easily solved all but the last one.  The last quiz has three choices: 1, 2, and 3.  With his supernatural power, Takahashi has found out that the choices A and B are both wrong.  Print the correct choice for this problem.

Submission attempts (in order):
Answer = [1, 2, 3]

A = int(input())
B = int(input())

Answer.remove(A)
Answer.remove(B)

print(Answer)



n = int(input())
a = list(map(int, input().split()))

i = 0
j = 0
bt = 0

while i < n:
  while j < n - i:
    if a[i+j] == i+1:
      bt += 1
      break
    if j + i == n-1:
      if i == 0:
        bt = -1
      j = n + 1
      i = n + 1
      
    j += 1
  i += 1
  
if bt != -1:
  bt = n - bt
  
print(bt)

ans = [1, 2, 3]
ans.romove(int(input()))
ans.romove(int(input()))

print(ans)

def gcd(m,n):
  x = max(m,n)
  y = min(m,n)
 
  while x % y != 0:
    z = y
    y = x % y
    x = z
  return y
 
def lcm(m,n):
  return int(m * n / gcd(m,n))
 
inputNum = list(map(int, input().split()))
a = inputNum[0]
b = inputNum[1]
 
print(lcm(a,b))

def gcd(m,n):
  x = max(m,n)
  y = min(m,n)
 
  while x % y != 0:
    z = y
    y = x % y
    x = z
  return y
 
def lcm(m,n):
  return int(m * n / gcd(m,n))
 
inputNum = list(map(int, input().split()))
a = inputNum[0]
b = inputNum[1]
 
print(gcd(a,b))
print(lcm(a,b))

a = int(input())
b = int(input())
print(6//a//b)

Verdicts: Wrong Answer

Runtime Error

Runtime Error

Runtime Error

Runtime Error

Accepted
Problem: Takahashi is solving quizzes. He has easily solved all but the last one.  The last quiz has three choices: 1, 2, and 3.  With his supernatural power, Takahashi has found out that the choices A and B are both wrong.  Print the correct choice for this problem.

Submission attempts (in order):
l=[1,2,3]
l.remove(int(input())
l.remove(int(input())
print(l[0])

a=int(input()
b=int(input()
l=[1,2,3]
l.remove(a)
l.remove(b)
print(l[0])

a=int(input())
b=int(input())
l=[1,2,3]
l.remove(a)
l.remove(b)
print(l[0])

Verdicts: Runtime Error

Runtime Error

Accepted
Problem: Takahashi is solving quizzes. He has easily solved all but the last one.  The last quiz has three choices: 1, 2, and 3.  With his supernatural power, Takahashi has found out that the choices A and B are both wrong.  Print the correct choice for this problem.

Submission attempts (in order):
A=[1,2,3]
A.pop(A.insert(input()))
A.pop(A.insert(input()))
print(A[-1])

A=["1","2","3"]
A.pop(A.index(input()))
A.pop(A.index(input()))
print(A[0])

Verdicts: Runtime Error

Accepted
Problem: Takahashi is solving quizzes. He has easily solved all but the last one.  The last quiz has three choices: 1, 2, and 3.  With his supernatural power, Takahashi has found out that the choices A and B are both wrong.  Print the correct choice for this problem.

Submission attempts (in order):
A = int(input())
B = int(input())
C = [1,2,3]
C.remove(A)
C.remove(B)
print(C)

A,B = map(int,input().split())
C = [1,2,3]
ans = C.remove(A,B)
print(ans)

A = int(input())
B = int(input())
C = [1,2,3]
if A,B <=3 and A != B:
  C.remove(A)
  C.remove(B)
  print(C)

A,B = map(int,input().split())
C = [1,2,3]
C.remove(A)
C.remove(B)
print(C)

A = int(input())
B = int(input())
C = [1,2,3]
C.remove(A)
C.remove(B)
print(C[0])

Verdicts: Wrong Answer

Runtime Error

Runtime Error

Runtime Error

Accepted
Problem: Takahashi is solving quizzes. He has easily solved all but the last one.  The last quiz has three choices: 1, 2, and 3.  With his supernatural power, Takahashi has found out that the choices A and B are both wrong.  Print the correct choice for this problem.

Submission attempts (in order):
A= int,input()
B= int,input()


print(6-A-B)

n = int(input())
s,t = input().split()
u = ""
for i in range(n):
    u = u + s[i] + t[i]

print(u)

import math

a,b = map(int,input().split())

print((a * b) // math.gcd(a, b))

A= int,input()
B= int,input()


if (A + B) == 3 :
   print(3)
elif (A + B) == 4 :
   print(2)
else :
   print(1)



n = int(input())
s,t = input().split()

for i in range(n):
    u = u + s[i] + t[i]

print(u)


A= int,input()
B= int,input()


if (A + B) == 3 :
   print('3')
elif (A + B) == 4 :
   print('2')
else :
   print('1')



a = int(input())
b = int(input())

print(6-a-b)

Verdicts: Runtime Error

Runtime Error

Runtime Error

Wrong Answer

Runtime Error

Wrong Answer

Accepted
Problem: Takahashi is solving quizzes. He has easily solved all but the last one.  The last quiz has three choices: 1, 2, and 3.  With his supernatural power, Takahashi has found out that the choices A and B are both wrong.  Print the correct choice for this problem.

Submission attempts (in order):
a1 = input()
a2 = input()

x = [1, 2, 3]

x = x.remove(a1)
x = x.remove(a2)

print(x)

a1=input()
a2=input()
print(6-a1-a2)

a1=int(input())
a2=int(input())
print(6-a1-a2)


Verdicts: Runtime Error

Runtime Error

Accepted
Problem: Takahashi is solving quizzes. He has easily solved all but the last one.  The last quiz has three choices: 1, 2, and 3.  With his supernatural power, Takahashi has found out that the choices A and B are both wrong.  Print the correct choice for this problem.

Submission attempts (in order):
a = int(input())
b = int(input())

if a!=1 or b!=1:
  print(1)
elif a!=2 or b!=2:
  print(2)
else:
  print(3)


a = int(input())
b = int(input())
 
if a!=1 and b!=1:
  print(1)
elif a!=2 and b!=2:
  print(2)
else:
  print(3)

Verdicts: Wrong Answer

Accepted
Problem: Takahashi is solving quizzes. He has easily solved all but the last one.  The last quiz has three choices: 1, 2, and 3.  With his supernatural power, Takahashi has found out that the choices A and B are both wrong.  Print the correct choice for this problem.

Submission attempts (in order):
a, b = map(int, input().split())
ans = 6
print(ans-(a+b))

a = int(input())
b = int(input())
ans = 6
print(ans-(a+b))



Verdicts: Runtime Error

Accepted
Problem: Takahashi is solving quizzes. He has easily solved all but the last one.  The last quiz has three choices: 1, 2, and 3.  With his supernatural power, Takahashi has found out that the choices A and B are both wrong.  Print the correct choice for this problem.

Submission attempts (in order):
N = int(input())

count = 0
div = 10

if N % 2 == 0:
    for i in range(1, 26):
        count += N // div
        div *= 5

print(count)


A = int(input())
B = int(input())

print(6 - A - B)

Verdicts: Wrong Answer

Accepted
Problem: Takahashi is solving quizzes. He has easily solved all but the last one.  The last quiz has three choices: 1, 2, and 3.  With his supernatural power, Takahashi has found out that the choices A and B are both wrong.  Print the correct choice for this problem.

Submission attempts (in order):
a = int(raw_input())
b = int(raw_input())
 
if a != 3 && b != 3:
  print(str(3))
elif a != 2 && B != 2:
  print(str(2))
else:
  print(str(1))

a = input()
b = input()

if (a != 1 and b != 1):
  print(1)
elif (a != 2 and b != 2):
  print(2)
else:
  print(3)

a = int(input())
b = int(input())
 
if (a != 3 and b != 3):
  print(str(3))
elif (a != 2 and B != 2):
  print(str(2))
else:
  print(str(1))

a = int(raw_input())
b = int(raw_input())
 
if a != 3 && b != 3:
  print(3)
else if a != 2 && B != 2:
  print(2)
else:
  print(1)

print(1)

n = int(input())
s, t = input().split()
 
res = ''
 
for i in range(n):
  res = res + str(s[i]) + str(t[i])
  
print(res)

a = int(raw_input())
b = int(raw_input())

print(1)

a = int(raw_input())
b = int(raw_input())
 
if (a != 3 and b != 3):
  print(str(3))
elif (a != 2 and B != 2):
  print(str(2))
else:
  print(str(1))

a = input()

print(1)

n = int(input())
s, t = input().split()
 
print(" ")

a, b = map(int, input().split())  

print(1)

a = int(raw_input())
b = int(raw_input())
 
if a != 3 && b != 3:
  print(str(3))
else if a != 2 && B != 2:
  print(str(2))
else:
  print(str(1))

a = int(raw_input())
b = int(raw_input())
 
if a != 3 and b != 3:
  print(str(3))
elif a != 2 and B != 2:
  print(str(2))
else:
  print(str(1))

N = int(input())
S, T = input().split()
 
res = ''
 
for i in range(N):
  res = res + str(S[i]) + str(T[i])
  
print(res)

a = raw_input()
b = raw_input()

if a != 3 && b != 3:
  print(3)
else if a != 2 && B != 2:
  print(2)
else:
  print(1)

a = int(input())
b = int(input())
 
if (a != 1 and b != 1):
  print(1)
elif (a != 2 and b != 2):
  print(2)
else:
  print(3)

Verdicts: Runtime Error

Wrong Answer

Runtime Error

Runtime Error

Wrong Answer

Runtime Error

Runtime Error

Runtime Error

Wrong Answer

Runtime Error

Runtime Error

Runtime Error

Runtime Error

Runtime Error

Runtime Error

Accepted
Problem: Takahashi is solving quizzes. He has easily solved all but the last one.  The last quiz has three choices: 1, 2, and 3.  With his supernatural power, Takahashi has found out that the choices A and B are both wrong.  Print the correct choice for this problem.

Submission attempts (in order):
#x = [int(x) for x in input().split()]
x = int(input())
y = int(input())
z = [1,2,3]
del(z.index(x))
del(z.index(y))
print(z[0])

#x = [int(x) for x in input().split()]
x = int(input())
y = int(input())
z = [1,2,3]
del(z[z.index(x)])
del(z[z.index(y)])
print(z[0])


Verdicts: Runtime Error

Accepted
Problem: Takahashi is solving quizzes. He has easily solved all but the last one.  The last quiz has three choices: 1, 2, and 3.  With his supernatural power, Takahashi has found out that the choices A and B are both wrong.  Print the correct choice for this problem.

Submission attempts (in order):
a,b=map(int,input().split())
print(6-a-b)

a=int(input())
b=int(input())
print(6-a-b)

Verdicts: Runtime Error

Accepted
Problem: Takahashi is solving quizzes. He has easily solved all but the last one.  The last quiz has three choices: 1, 2, and 3.  With his supernatural power, Takahashi has found out that the choices A and B are both wrong.  Print the correct choice for this problem.

Submission attempts (in order):
a = int(input())
b = int(input())
n = [1, 2, 3].remove(a).remove(b)
print(n[0])

a = int(input())
b = int(input())
c = 6 - a - b
print(c)

Verdicts: Runtime Error

Accepted
Problem: Takahashi is solving quizzes. He has easily solved all but the last one.  The last quiz has three choices: 1, 2, and 3.  With his supernatural power, Takahashi has found out that the choices A and B are both wrong.  Print the correct choice for this problem.

Submission attempts (in order):
a = input()
b = input()
print(int(6-a-b))

a = int(input())
b = int(input())
print(6-a-b)

Verdicts: Runtime Error

Accepted
Problem: Takahashi is solving quizzes. He has easily solved all but the last one.  The last quiz has three choices: 1, 2, and 3.  With his supernatural power, Takahashi has found out that the choices A and B are both wrong.  Print the correct choice for this problem.

Submission attempts (in order):
import numpy as np
a, b = map(int, input().split(' '))
c = np.lcm(a, b)
print(str(c))

result_list = [1, 2, 3]
for i in range(2):
    item = int(input())
    result_list.remove(item)
print(result_list[0])

Verdicts: Runtime Error

Accepted
Problem: Takahashi is solving quizzes. He has easily solved all but the last one.  The last quiz has three choices: 1, 2, and 3.  With his supernatural power, Takahashi has found out that the choices A and B are both wrong.  Print the correct choice for this problem.

Submission attempts (in order):
#-*- coding: utf-8 -*-
import math

a, b = [int(x.strip()) for x in input().split()]
#print((a * b) // math.gcd(a, b))
print(6)









from collections import defaultdict
import sys
import math
from datetime import datetime

def sol(a, b):
    return 1 + 2 + 3 - a - b
    #if a + b + c <= 21: return 'win'
    #else: return 'bust'



do_submit = True


def input_parse(input_str):
    lines = [x.strip() for x in input_str.split("\n") if x.strip()]
    parsed_lines = [list(map(str, line.split())) for line in lines]
    print(parsed_lines)
    n = int(parsed_lines[0][0])
    k = int(parsed_lines[0][1])
    S = parsed_lines[1][0]
    return n, k, S


if not do_submit:
    a, b, c = input_parse("""
    3 1
    ABC
    """)
    print(sol(a, b, c))

    a, b, c = input_parse("""
    4 3
    CABA
    """)
    print(sol(a, b, c))

else:
    #a, b, c = list(map(int, input().split()))
    # S = input().split()
    a = int(input())
    b = int(input())
    # T = input()
    print(sol(a, b))
    # S = input().strip()
    # print(sol(S))

Verdicts: Runtime Error

Accepted
Problem: Takahashi is solving quizzes. He has easily solved all but the last one.  The last quiz has three choices: 1, 2, and 3.  With his supernatural power, Takahashi has found out that the choices A and B are both wrong.  Print the correct choice for this problem.

Submission attempts (in order):
a,b= map(int, input().split())
print(6-a+b)

a = int(input())
b = int(input())
print(6-a-b)

Verdicts: Runtime Error

Accepted
Problem: Takahashi is solving quizzes. He has easily solved all but the last one.  The last quiz has three choices: 1, 2, and 3.  With his supernatural power, Takahashi has found out that the choices A and B are both wrong.  Print the correct choice for this problem.

Submission attempts (in order):
a, b = map(int, input().split()) 
 
count = 1
an = []
bn = []
eee = min(a,b)
 
for ii in range(1, eee+2):
    bbb = b * ii
    bn.append(bbb)
 
while True:
    aaa = a * count
    )
    if aaa in bn:
        print(aaa)
        break
    count += 1

a = int(input()) 
b = int(input())


listt = []
listt.append(a)
listt.append(b)
if 1 in listt and 2 in listt:
    print(3)

if 2 in listt and 3 in listt:
    print(1)

if 1 in listt and 3 in listt:
    print(2)



Verdicts: Runtime Error

Accepted
Problem: Takahashi is solving quizzes. He has easily solved all but the last one.  The last quiz has three choices: 1, 2, and 3.  With his supernatural power, Takahashi has found out that the choices A and B are both wrong.  Print the correct choice for this problem.

Submission attempts (in order):
A = int(input())
B = int(input())

for i in range(1,4):
	if i != A and i != B:
      print(i)
  

A = int(input())
B = int(input())

for i in range(1,4):
  if i != A and i != B:
    print(i)
  

Verdicts: Runtime Error

Accepted
Problem: Takahashi is solving quizzes. He has easily solved all but the last one.  The last quiz has three choices: 1, 2, and 3.  With his supernatural power, Takahashi has found out that the choices A and B are both wrong.  Print the correct choice for this problem.

Submission attempts (in order):
l=0
for i in range(2):
    l=l+int(input)
print(6-l)

a=0
for i in range(1):
  a=a+int(input())
print(int(6-a))

l=0
for i range (2):
  l=l+int(input())
print(6-l)

l=0
l=l+int(input)
l=l+int(input)
print(6-l)


a=0
for i in range(2):
  a=a+int(input())
print(int(6-a))

Verdicts: Runtime Error

Wrong Answer

Runtime Error

Runtime Error

Accepted
Problem: Takahashi is solving quizzes. He has easily solved all but the last one.  The last quiz has three choices: 1, 2, and 3.  With his supernatural power, Takahashi has found out that the choices A and B are both wrong.  Print the correct choice for this problem.

Submission attempts (in order):
n=int(input())
if n%2==1:
    print(0)
    exit(0)

k=n//2

from math import floor

ans=0
deno=5
while deno<=k:
    ans+=k//deno
    deno*=5

print(ans)


A = int(input())
B = int(input())

test =[1,2,3]
test.remove(A)
test.remove(B)

print(test[0])

Verdicts: Wrong Answer

Accepted
Problem: Takahashi is solving quizzes. He has easily solved all but the last one.  The last quiz has three choices: 1, 2, and 3.  With his supernatural power, Takahashi has found out that the choices A and B are both wrong.  Print the correct choice for this problem.

Submission attempts (in order):
A,B=map(int,input().split())
print(6-A-B)


A,B=map(int,input().split())
pritn(6-A-B)

A,B=map(int,input().split())
x = [A,B]
A = [1,2,3]
for idx in range(len(A)):
  if (A[idx] in x )== False:
    print(A[idx])
    break
 


A,B=map(int,input().split())
print(6-A-B)


A,B=map(int,input().split())
x = [A,B]
A = [1,2,3]
for idx in range(len(A)):
  if A[idx] in x == False:
    print(A[idx])
    break
 

A,B=map(int,input().split())
x=[1,2,3]
print(x[x!=A and x!=B])

A,B=map(int,input().split())
x = [A,B]
A = [1,2,3]
print(A[x in A == False])

A,B=map(int,input().split())
x=[1,2,3]
print(x(x!=A and x!=B))

A = int(input())
B = int(input())
print(6-A-B)


Verdicts: Runtime Error

Runtime Error

Runtime Error

Runtime Error

Runtime Error

Runtime Error

Runtime Error

Runtime Error

Accepted
Problem: Takahashi is solving quizzes. He has easily solved all but the last one.  The last quiz has three choices: 1, 2, and 3.  With his supernatural power, Takahashi has found out that the choices A and B are both wrong.  Print the correct choice for this problem.

Submission attempts (in order):
import random
A = random.randint(1,3)
B = random.randint(1,3)
while A == B:
    B = random.randint(1,3)

if A == 1:
    if B == 2:
        print(3)
    elif B == 3:
        print(2)
elif A == 2:
    if B == 1:
        print(3)
    elif B == 3:
        print(1)
elif A == 3:
    if B == 1:
        print(2)
    elif B == 2:
        print(1)


A = int(input())
B = int(input())

if A == 1:
    if B == 2:
        print(3)
    elif B == 3:
        print(2)
elif A == 2:
    if B == 1:
        print(3)
    elif B == 3:
        print(1)
elif A == 3:
    if B == 1:
        print(2)
    elif B == 2:
        print(1)

Verdicts: Wrong Answer

Accepted
Problem: Takahashi is solving quizzes. He has easily solved all but the last one.  The last quiz has three choices: 1, 2, and 3.  With his supernatural power, Takahashi has found out that the choices A and B are both wrong.  Print the correct choice for this problem.

Submission attempts (in order):
import sys

def main():
    A = input()
    B = input()

    if(A==1 and B==2 or A==2 and B==1):
        print('3')
    elif(A==1 and B==3 or A==3 and B==1):
        print('2')
    elif(A==2 and B==3 or A==3 and A==2):
        print('1')

main()


import sys
 
def main():
    A = int(input())
    B = int(input())
 
    if(A==1 and B==2 or A==2 and B==1):
        print('3')
    elif(A==1 and B==3 or A==3 and B==1):
        print('2')
    else:    
        print('1')
 
main()

Verdicts: Wrong Answer

Accepted
Problem: Takahashi is solving quizzes. He has easily solved all but the last one.  The last quiz has three choices: 1, 2, and 3.  With his supernatural power, Takahashi has found out that the choices A and B are both wrong.  Print the correct choice for this problem.

Submission attempts (in order):
n=int(input())
w=5
ans=0
while n>5:
  ans+=n/w
  w=w*5
print(ans)


n=int(input())
s=list(input())
s,t=s[:n],s[n+1:]
ans=[0]*2*n
for i,j in zip(s,t):
  print(i,end="")
  print(j,end="")

a=int(input())
b=int(input())
print(6-a-b)

Verdicts: Wrong Answer

Wrong Answer

Accepted
Problem: Takahashi is solving quizzes. He has easily solved all but the last one.  The last quiz has three choices: 1, 2, and 3.  With his supernatural power, Takahashi has found out that the choices A and B are both wrong.  Print the correct choice for this problem.

Submission attempts (in order):
A,B = map(int, input().split())

L = [1,2,3]
L.remove(A)
L.remove(B)
for l in L:
  print(l)

A = int(input())
B = int(input())
L = [1,2,3]
L.remove(A)
L.remove(B)
for l in L:
  print(l)

Verdicts: Runtime Error

Accepted
Problem: Takahashi is solving quizzes. He has easily solved all but the last one.  The last quiz has three choices: 1, 2, and 3.  With his supernatural power, Takahashi has found out that the choices A and B are both wrong.  Print the correct choice for this problem.

Submission attempts (in order):
a=int(input())
b=int(input())
Z=[1,2,3]
Z.remove(a)
Z.remove(b)

print(Z)


a=input()
b=input()
Z=list['1','2','3']
X=Z.remove(a,b)

print(X)


a=input()
b=input()
Z=list['1','2','3']
X=Z.remove('a','b')

print(X)


a=int(input())
b=int(input())
Z=[1,2,3]
X=Z.remove(a,b)

print(X)

a=int(input())
b=int(input())
Z=list[1,2,3]
X=Z.remove(a,b)

print(X)

a=int(input())
b=int(input())
Z=[1,2,3]
Z.remove(a)
Z.remove(b)

print(Z[0])


Verdicts: Wrong Answer

Runtime Error

Runtime Error

Runtime Error

Runtime Error

Accepted
Problem: Takahashi is solving quizzes. He has easily solved all but the last one.  The last quiz has three choices: 1, 2, and 3.  With his supernatural power, Takahashi has found out that the choices A and B are both wrong.  Print the correct choice for this problem.

Submission attempts (in order):
A=int(input())
B=int(input())

if A,B=1,2:
  print("3")
if A,B=2,3:
  print("1")
if A,B=1,3:
  print("2")

def ans(n,m):
  if n+m==3:
    print("3")
  if n+m==4:
    print("2")
  if n+m==5:
    print("1")
a=int(input())
b=int(input())

ans(a,b)

Verdicts: Runtime Error

Accepted
Problem: Takahashi is solving quizzes. He has easily solved all but the last one.  The last quiz has three choices: 1, 2, and 3.  With his supernatural power, Takahashi has found out that the choices A and B are both wrong.  Print the correct choice for this problem.

Submission attempts (in order):
A,B=map(int,input().split())
print(6-(A+B))

A,B=map(int,input().split())
print(6-(a+B))

a=int(input())
b=int(input())
print(6-a-b)

Verdicts: Runtime Error

Runtime Error

Accepted
Problem: Takahashi is solving quizzes. He has easily solved all but the last one.  The last quiz has three choices: 1, 2, and 3.  With his supernatural power, Takahashi has found out that the choices A and B are both wrong.  Print the correct choice for this problem.

Submission attempts (in order):
import sys
input = sys.stdin.readline
def print_ans(A,B):
    """Test Case
    >>> print_ans(3, 1)
    2
    >>> print_ans(1, 2)
    """
    ans = [1, 2, 3]
    lists = [A, B]
    for a in ans:
        flg = True
        for b in lists:
            if a == b:
                flg == False
                break
        if flg:
            print(a)

if __name__ == '__main__':
    A = int(input().rstrip())
    B = int(input().rstrip())
    print_ans(A,B)




import sys
input = sys.stdin.readline
def print_ans(A,B):
    """Test Case
    >>> print_ans(3, 1)
    2
    >>> print_ans(1, 2)
    """
    ans = [1, 2, 3]
    lists = [A, B]
    for a in ans:
        flg = True
        for b in lists:
            if a == b:
                flg == False
                break
        if flg:
            print(a)

if __name__ == '__main__':
    A = input().rstrip()
    B = input().rstrip()
    print_ans(A,B)




ans = [1, 2, 3]
A = input()
B =  input()
ans2 =[]
for a in ans:
    if a != A:
        ans2.append(a)
ans3 = []
for a in ans2:
    if a != B:
        ans3.append(a)
print(ans3[0])

import sys
input = sys.stdin.readline
def print_ans(A,B):
    """Test Case
    >>> print_ans(3, 1)
    2
    >>> print_ans(1, 2)
    3
    """
    ans = [1, 2, 3]
    lists = [A, B]
    for a in ans:
        flg = True
        for b in lists:
            if a == b:
                flg = False
                break
        if flg:
            print(a)

if __name__ == '__main__':
    A = int(input().rstrip())
    B = int(input().rstrip())
    print_ans(A,B)




Verdicts: Wrong Answer

Wrong Answer

Wrong Answer

Accepted
Problem: Takahashi is solving quizzes. He has easily solved all but the last one.  The last quiz has three choices: 1, 2, and 3.  With his supernatural power, Takahashi has found out that the choices A and B are both wrong.  Print the correct choice for this problem.

Submission attempts (in order):
A, B = map(int, input().split())
print(A ^ B)

A = int(input())
B = int(input())
print(A ^ B)

Verdicts: Runtime Error

Accepted
Problem: Takahashi is solving quizzes. He has easily solved all but the last one.  The last quiz has three choices: 1, 2, and 3.  With his supernatural power, Takahashi has found out that the choices A and B are both wrong.  Print the correct choice for this problem.

Submission attempts (in order):
from fractions import gcd

A,B = map(int, input().split())

print(int(A * B / gcd(A, B)))

A = int(input())
B = int(input())


# A = 3
# B = 1
print(6 - A- B)

Verdicts: Runtime Error

Accepted
Problem: Takahashi is solving quizzes. He has easily solved all but the last one.  The last quiz has three choices: 1, 2, and 3.  With his supernatural power, Takahashi has found out that the choices A and B are both wrong.  Print the correct choice for this problem.

Submission attempts (in order):
list_A= [1,2,3]
a = input()
b = input()
list_A.remove(a)
list_A.remove(b)
print(list_A)

list_A= [1,2,3]
a = int(input())
b = int(input())
list_A.remove(a)
list_A.remove(b)
print(list_A[0])

Verdicts: Runtime Error

Accepted
Problem: Takahashi is solving quizzes. He has easily solved all but the last one.  The last quiz has three choices: 1, 2, and 3.  With his supernatural power, Takahashi has found out that the choices A and B are both wrong.  Print the correct choice for this problem.

Submission attempts (in order):
a = int(input())
b = int(input())
ans = [i+1 for i in range(3) if i+1 not in [a,b]]
print(ans)


a = int(input())
b = int(input())
ans = [i+1 for i in range(3) if i+1 not in [a,b]][0]
print(ans)

Verdicts: Wrong Answer

Accepted
Problem: Takahashi is solving quizzes. He has easily solved all but the last one.  The last quiz has three choices: 1, 2, and 3.  With his supernatural power, Takahashi has found out that the choices A and B are both wrong.  Print the correct choice for this problem.

Submission attempts (in order):
a = int(input())
b = int(input())
if a+b == 3:
    print(3)
elif a+b ==5
    print(1)
else:
    print(2)

a = int(input())
b = int(input())
if a+b == 3:
    print(3)
elif a+b == 5:
    print(1)
else:
    print(2)

Verdicts: Runtime Error

Accepted
Problem: Takahashi is solving quizzes. He has easily solved all but the last one.  The last quiz has three choices: 1, 2, and 3.  With his supernatural power, Takahashi has found out that the choices A and B are both wrong.  Print the correct choice for this problem.

Submission attempts (in order):
N = int(input())
S,T = list(map(str, input().split()))
for i in range(N):
    print(S[i],end='')
    print(T[i],end='')

N = int(input())
S,T = list(map(str, input().split()))
for i in range(N):
    print(S[i],end='')
    print(T[i],end='')

N = int(input())
S,T = list(map(str, input().split()))
for i in range(N):
    print(S[i],end='')
    print(T[i],end='')

A = int(input())
B = int(input())
print(6-A-B)

Verdicts: Runtime Error

Runtime Error

Runtime Error

Accepted
Problem: Takahashi is solving quizzes. He has easily solved all but the last one.  The last quiz has three choices: 1, 2, and 3.  With his supernatural power, Takahashi has found out that the choices A and B are both wrong.  Print the correct choice for this problem.

Submission attempts (in order):
A = int(input())
B = int(input())
A&B = [A,B]
a&b&c = [1, 2, 3]
C = set(A&B) ^ set(a&b&c)
print(C)

A = int(input())
B = int(input())
C = 6 - A - B
print(C)

Verdicts: Runtime Error

Accepted
Problem: Takahashi is solving quizzes. He has easily solved all but the last one.  The last quiz has three choices: 1, 2, and 3.  With his supernatural power, Takahashi has found out that the choices A and B are both wrong.  Print the correct choice for this problem.

Submission attempts (in order):
A=map(int,input())
B=map(int,input())
if (A=1 and B=2)or(A=2 and B=1):
  print(3)
if (A=2 and B=3)or(A=3 and B=2):
  print(1)
if (A=3 and B=1)or(A=1 and B=3):
  print(2)

A=map(int,input())
B=map(int,input())
if (A=1 and B=2)or(A=2 and B=1):
  print(3)
if (A=2 and B=3)or(A=3 and B=2):
  print(1)
else:
  print(2)

A=int(input())
B=int(input())
if (A=1 and B=2)or(A=2 and B=1):
  print(3)
if (A=2 and B=3)or(A=3 and B=2):
  print(1)
else:
  print(2)

A=input()
B=input()
if A=1 and B=2:
  print(3)
if A=2 and B=3:
  print(1)
if A=3 and B=1:
  print(2)
if A=2 and B=1:
  print(3)
if A=3 and B=2:
  print(1)
if A=1 and B=3:
  print(2)

A=input()
B=input()
if (A=1 and B=2)or(A=2 and B=1):
  print(3)
if (A=2 and B=3)or(A=3 and B=2):
  print(1)
if (A=3 and B=1)or(A=1 and B=3):
  print(2)


A=map(int,input())
B=map(int,input())
C=6-A-B
print(C)

A=int(input())
B=int(input())  
C=6-A-B
print(C)

Verdicts: Runtime Error

Runtime Error

Runtime Error

Runtime Error

Runtime Error

Runtime Error

Accepted
Problem: Takahashi is solving quizzes. He has easily solved all but the last one.  The last quiz has three choices: 1, 2, and 3.  With his supernatural power, Takahashi has found out that the choices A and B are both wrong.  Print the correct choice for this problem.

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

if n % 2 == 0:
    cnt = 0
    denom = 10
    while denom <= n:
        cnt += n // denom
        denom *= 5
    print(cnt)
else:
    print(0)

a = [1, 2, 3]
for i in range(2):
  a.remove(int(input()))
  
print(a[0])

Verdicts: Wrong Answer

Accepted
Problem: Takahashi is solving quizzes. He has easily solved all but the last one.  The last quiz has three choices: 1, 2, and 3.  With his supernatural power, Takahashi has found out that the choices A and B are both wrong.  Print the correct choice for this problem.

Submission attempts (in order):
a, b = map(int, input().split())
if (a == 1 and b == 2) or (a == 2 and b == 1):
    print(3)
elif (a == 1 and b == 3)or(a==3 and b==1):
    print(2)
elif (a == 2 and b == 3) or (a == 3 and b == 2):
    print(1)


A=int(input())
B = int(input())
C = A + B
list = {3: '3', 4: '2', 5: '1'}
print(list[C])


Verdicts: Runtime Error

Accepted
Problem: Takahashi is solving quizzes. He has easily solved all but the last one.  The last quiz has three choices: 1, 2, and 3.  With his supernatural power, Takahashi has found out that the choices A and B are both wrong.  Print the correct choice for this problem.

Submission attempts (in order):
A = int(input())
B = int(input())
print((set(range(1, 3 + 1)) - {A, B})[0])

A = int(input())
B = int(input())
print(list(set(range(1, 3 + 1)) - {A, B})[0])

Verdicts: Runtime Error

Accepted
Problem: Takahashi is solving quizzes. He has easily solved all but the last one.  The last quiz has three choices: 1, 2, and 3.  With his supernatural power, Takahashi has found out that the choices A and B are both wrong.  Print the correct choice for this problem.

Submission attempts (in order):
n = int(input())
sub = 0
if n % 2 == 1:
    print(0)
else:
    n //= 10
    sub+=n
    while n > 0:
        n //= 5
        sub+= n
    print(sub)

a = int(input())
b = int(input())
sub = [1,2,3]
sub.remove(a)
sub.remove(b)
print(*sub)


Verdicts: Wrong Answer

Accepted
Problem: Takahashi is solving quizzes. He has easily solved all but the last one.  The last quiz has three choices: 1, 2, and 3.  With his supernatural power, Takahashi has found out that the choices A and B are both wrong.  Print the correct choice for this problem.

Submission attempts (in order):
l = [1, 2, 3]
A = int(stdin.readline().rstrip())
B = int(stdin.readline().rstrip())
l.remove(A)
l.remove(B)
print(l[0])

l = [1, 2, 3]
A = int(input().rstrip())
B = int(input().rstrip())
l.remove(A)
l.remove(B)
print(l[0])


Verdicts: Runtime Error

Accepted
Problem: Takahashi is solving quizzes. He has easily solved all but the last one.  The last quiz has three choices: 1, 2, and 3.  With his supernatural power, Takahashi has found out that the choices A and B are both wrong.  Print the correct choice for this problem.

Submission attempts (in order):
A = int(input())
B = int(input())


print(6-a-b)

    
  
  	

a = int(input())
b = int(input())
print(6-a-b)

Verdicts: Runtime Error

Accepted
Problem: Takahashi is solving quizzes. He has easily solved all but the last one.  The last quiz has three choices: 1, 2, and 3.  With his supernatural power, Takahashi has found out that the choices A and B are both wrong.  Print the correct choice for this problem.

Submission attempts (in order):
a,b=input().split()
l=["1","2","3"]
l.remove(a)
l.remove(b)
print(l[0])


a=input()
b=input()
l=["1","2","3"]
l.remove(a)
l.remove(b)
print(l[0])


Verdicts: Runtime Error

Accepted
Problem: Takahashi is solving quizzes. He has easily solved all but the last one.  The last quiz has three choices: 1, 2, and 3.  With his supernatural power, Takahashi has found out that the choices A and B are both wrong.  Print the correct choice for this problem.

Submission attempts (in order):
A = input()
B = input()

ans = [1,2,3]
ans.remove(A)
ans.remove(B)
print(ans[0])

A = int(input())
B = int(input())
ans = [1,2,3]
ans.remove(A)
ans.remove(B)
print(ans[0])


Verdicts: Runtime Error

Accepted
Problem: Takahashi is solving quizzes. He has easily solved all but the last one.  The last quiz has three choices: 1, 2, and 3.  With his supernatural power, Takahashi has found out that the choices A and B are both wrong.  Print the correct choice for this problem.

Submission attempts (in order):
print(6-int(input)-int(input))

print(6-int(input())-int(input()))


Verdicts: Runtime Error

Accepted
Problem: Takahashi is solving quizzes. He has easily solved all but the last one.  The last quiz has three choices: 1, 2, and 3.  With his supernatural power, Takahashi has found out that the choices A and B are both wrong.  Print the correct choice for this problem.

Submission attempts (in order):
A = input()
B = input()
for i in range(1,4):
  if(i!=A and i!=B):
    print(i)

a = int(input())
b = int(input())

c = [1, 2, 3]

result = [i for i in c if i != a and i != b]

print(result[0])

Verdicts: Wrong Answer

Accepted
Problem: Takahashi is solving quizzes. He has easily solved all but the last one.  The last quiz has three choices: 1, 2, and 3.  With his supernatural power, Takahashi has found out that the choices A and B are both wrong.  Print the correct choice for this problem.

Submission attempts (in order):
import math
a,b = map(int,input().split())

def lcm(x, y):
    return (x * y) // math.gcd(x, y)

print(lcm(a,b))

a = int(input())
b = int(input())
num = [1,2,3]
num.remove(a)
num.remove(b)
print(num[0])

Verdicts: Runtime Error

Accepted
Problem: Takahashi is solving quizzes. He has easily solved all but the last one.  The last quiz has three choices: 1, 2, and 3.  With his supernatural power, Takahashi has found out that the choices A and B are both wrong.  Print the correct choice for this problem.

Submission attempts (in order):
n1 = input()
n2 = input()
choices = [1,2,3]
choices.remove(n1)
choices.remove(n2)
print(choices[0])

n1 = input()
n2 = input()
choices = [1,2,3]
choices.remove(n1)
choices.remove(n2)
print(choices[0])

n1 = int(input())
n2 = int(input())
choices = [1,2,3]
choices.remove(n1)
choices.remove(n2)
print(choices[0])

Verdicts: Runtime Error

Runtime Error

Accepted
Problem: Takahashi is solving quizzes. He has easily solved all but the last one.  The last quiz has three choices: 1, 2, and 3.  With his supernatural power, Takahashi has found out that the choices A and B are both wrong.  Print the correct choice for this problem.

Submission attempts (in order):
A = input()
B = input()
if A = "1"or B="1":
	if A = "2"or B="2":
		print("3")
	elif A = "3"or B="3":
		print("2")
elif A = "2"or B="2":
	if A = "3"or B="3":
		print("1")


A = input()
B = input()
if A == "1"or B=="1":
	if A == "2"or B=="2":
		print("3")
	elif A == "3"or B=="3":
		print("2")
elif A == "2"or B=="2":
	if A == "3"or B=="3":
		print("1")

Verdicts: Runtime Error

Accepted
Problem: Takahashi is solving quizzes. He has easily solved all but the last one.  The last quiz has three choices: 1, 2, and 3.  With his supernatural power, Takahashi has found out that the choices A and B are both wrong.  Print the correct choice for this problem.

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

l = raw_input.split()
A = int(l[0])
B = int(l[1])

answers = [1,2,3]

answers.remove(A)
answers.remove(B)


for ans in answers:
    print(ans)

raw_input1 = input()
raw_input2 = input()

A = int(raw_input1)
B = int(raw_input2)

answers = [1,2,3]

answers.remove(A)
answers.remove(B)


for ans in answers:
    print(ans)

Verdicts: Runtime Error

Accepted
Problem: Takahashi is solving quizzes. He has easily solved all but the last one.  The last quiz has three choices: 1, 2, and 3.  With his supernatural power, Takahashi has found out that the choices A and B are both wrong.  Print the correct choice for this problem.

Submission attempts (in order):
A = int(input())
B = int(input())
c = [1,2,3]
c.remove(A)
c.remove(B)
print(c)

A = int(input())
B = int(input())
c = [1,2,3]
c.remove(A)
c.remove(B)
print(c)

a = int(input())
b = int(input())

c = [1, 2, 3]
c.remove(a)
c.remove(b)

print(c[0])

Verdicts: Wrong Answer

Wrong Answer

Accepted
Problem: Takahashi is solving quizzes. He has easily solved all but the last one.  The last quiz has three choices: 1, 2, and 3.  With his supernatural power, Takahashi has found out that the choices A and B are both wrong.  Print the correct choice for this problem.

Submission attempts (in order):
array = [1, 2, 3]

for _ in range(3):
  num = int(input())
  array.pop(array.index(num))

print(array[0])


array = [1, 2, 3]
 
for _ in range(2):
  num = int(input())
  array.pop(array.index(num))
 
print(array[0])

Verdicts: Runtime Error

Accepted
Problem: Takahashi is solving quizzes. He has easily solved all but the last one.  The last quiz has three choices: 1, 2, and 3.  With his supernatural power, Takahashi has found out that the choices A and B are both wrong.  Print the correct choice for this problem.

Submission attempts (in order):
a,b = map(int, input().split())

if a*b ==2:
    print(3)
elif a*b ==3:
    print(2)
else:
    print(1)

a = int(input())
b = int(input())

if a*b ==2:
    print(3)
elif a*b ==3:
    print(2)
else:
    print(1)

Verdicts: Runtime Error

Accepted
Problem: Takahashi is solving quizzes. He has easily solved all but the last one.  The last quiz has three choices: 1, 2, and 3.  With his supernatural power, Takahashi has found out that the choices A and B are both wrong.  Print the correct choice for this problem.

Submission attempts (in order):
A = input()
B = input()
print (6-A-B)

a = [input() for i in range(2)]
print (6-a[0]-a[1])

a = [input() for i in range(5)]
print (6-a[0]-a[1])

A = input()
B = input()
print(6-int(A)-int(B))

Verdicts: Runtime Error

Runtime Error

Runtime Error

Accepted
Problem: Takahashi is solving quizzes. He has easily solved all but the last one.  The last quiz has three choices: 1, 2, and 3.  With his supernatural power, Takahashi has found out that the choices A and B are both wrong.  Print the correct choice for this problem.

Submission attempts (in order):
icase=0
if icase==0:
    a=input()
    b=input()
    print(6-a-b)
        

icase=0
if icase==0:
    a=int(input())
    b=int(input())
    print(6-a-b)


Verdicts: Runtime Error

Accepted
Problem: Takahashi is solving quizzes. He has easily solved all but the last one.  The last quiz has three choices: 1, 2, and 3.  With his supernatural power, Takahashi has found out that the choices A and B are both wrong.  Print the correct choice for this problem.

Submission attempts (in order):
if a==1 :
    if b==2:
        print(3)
    elif b==3:
        print(2)
elif a ==2 :
    if b==1:
        print(3)
    elif b==3:
        print(1)
else:
    if b==1:
        print(2)
    elif b==2:
        print(1)

a = int(input())
b = int(input())

if a==1 :
    if b==2:
        print(3)
    elif b==3:
        print(2)
elif a ==2 :
    if b==1:
        print(3)
    elif b==3:
        print(1)
else:
    if b==1:
        print(2)
    elif b==2:
        print(1)

Verdicts: Runtime Error

Accepted
Problem: Takahashi is solving quizzes. He has easily solved all but the last one.  The last quiz has three choices: 1, 2, and 3.  With his supernatural power, Takahashi has found out that the choices A and B are both wrong.  Print the correct choice for this problem.

Submission attempts (in order):
a = int(input())
b = (input())

print(6 - (a+b))

a = int(input())
b = int(input())

print(6 - (a+b))


Verdicts: Runtime Error

Accepted