Problem:


Score: 100 points

Problem Statement

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.

Constraints

Each of the numbers A and B is 1, 2, or 3.

A and B are different.

Input

Input is given from Standard Input in the following format:

A
B

Output

Print the correct choice.

Sample Input 1

3
1

Sample Output 1

2

When we know 3 and 1 are both wrong, the correct choice is 2.

Sample Input 2

1
2

Sample Output 2

3



Sample input:
3
1


Sample output:
2

Submission status: Runtime Error

Solution code:
A=input()
B=input()
ans_list=[1,2,3]
for ans in ans_list:
  if ans!=A and ans!=B:
    return ans

Submission status: Runtime Error

Solution code:
import sys

def main():
    args = [int(input()) for i in range(2)]
    list = [1, 2, 3]
    for i in list:
        flg = False
        for j in args:
            if j == i:
                flg = True
        if not flg:
            print(i)
            return i

if __name__ == "__main__":
    sys.exit(main())

Submission status: Runtime Error

Solution code:
N = int(input())
A=[]  
A=[int(x) for x in input().split()]
num = 1
count = 0
for i in range(N):
  if A[i] == num:
    num += 1
  else:
    count += 1
if count >= N-1:
  print(-1)
else:
  print(count)

Submission status: Runtime Error

Solution code:
a = [int(i) for i in input().split()]
if a[0] > a[1]:
  pass
else:
  b = a[0]
  c = a[1]
  a[0] = c
  a[1] = b

b = a[0]
c = a[1]

import fractions

g = fractions.gcd(b,c)

print(int((b * c) / g))

Submission status: Runtime Error

Solution code:
A, B = map(int,input().split())

def gcd(A,B):
  while B!=0:
    A,B=B,A%B
  return A
def lcm(A,B):
  return A*B//gcd(A,B)
print(str(lcm(A,B)))

Submission status: Runtime Error

Solution code:
N=input()
ST=input()
S=ST.split(' ')[0]
T=ST.split(' ')[1]
result=''

for i in range(int(N)):
  result+=S[i]
  result+=T[i]
  
print(result)

Submission status: Runtime Error

Solution code:
a, b = map(int,input().split())

def gcd(a,b):
  while b!=0:
    a,b=b,a%b
  return a
def lcm(a,b):
  return a*b//gcd(a,b)
print(lcm(a,b))

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
s = int(input())
str1, str2 = [s for s in input().split()]
print(str1)
print(str2)
ans=[]
for i in range(s-1):
  ans += str1[i]
  ans += str2[i]

  
print(''.join(ans))

Submission status: Runtime Error

Solution code:
A, B = list(map(int, input().split()))
ans = [1,2,3]
ans.remove(A)
ans.remove(B)

print(ans[0])

Submission status: Runtime Error

Solution code:
A = int(input())
B = int(input())
if(A==1&&B==2):
  print(3)
elif(A==2&&B==1):
  print(3)
elif(A==1&&B==3):
  print(2)
elif(A==3&&B==1):
  print(2)
elif(A==3&&B==2):
  print(1)
else(A==2&&B==3):
  print(1)

Submission status: Runtime Error

Solution code:
lst = [1,2,3]
a,b=(int(x) for x in input().split())
lst.remove(a)
lst.remove(b)
print(lst)

Submission status: Runtime Error

Solution code:
A = input(int)
B = input(int)

print(6-A-B)

Submission status: Runtime Error

Solution code:
import numpy as np
a,b= map(int,input().split())
lcm = np.lcm(a, b)
print(lcm)

Submission status: Runtime Error

Solution code:
def main():
  a=int(input())
  b=int(input())
  c=6-a-b
  print(c)
  
 if __name__ == ′__main__′:
  main()

Submission status: Runtime Error

Solution code:
a1 = input()
a2 = input()

x = [1, 2, 3]

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

print(x)

Submission status: Runtime Error

Solution code:
A=int(input())
B=int(input())
if(A==1 and B==2):
	x=3
elif(A==2 and B==3):
	x=1
elif(A==3 and B==1):
	x=2
print(x)

Submission status: Runtime Error

Solution code:
l=0
l=l+int(input)
l=l+int(input)
print(6-l)

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
A = int(input())
B = int(input())
if(A==1&&B==2):
  print(3)
if(A==2&&B==1):
  print(3)
if(A==1&&B==3):
  print(2)
if(A==3&&B==1):
  print(2)
if(A==3&&B==2):
  print(1)
if(A==2&&B==3):
  print(1)

Submission status: Runtime Error

Solution code:
A = int(input())
B = int(input())
if(A=1&&B==2):
  print(3)
if(A==2&&B==1):
  print(3)
if(A=1&&B==3):
  print(2)
if(A==3&&B==1):
  print(2)
if(A=3&&B==2):
  print(1)
if(A==2&&B==3):
  print(1)

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
#include <bits/stdc++.h>

using namespace std;

int main()
{
    int a, b;
    cin >> a;
    cin >> b;
    cout << 6 - a - b << "\n";
}

Submission status: Runtime Error

Solution code:
int A = int(input())
int B = int(input())

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

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

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

Submission status: Runtime Error

Solution code:
import math

a, b = map(int, input().split())
def lcm(x, y):
    return (x * y) // math.gcd(x, y)

print(lcm(a, b))

Submission status: Runtime Error

Solution code:
# -*- coding: utf-8 -*-
A=int(input())
B=int(input())
if A==1:
    if B==2:
        C=3
    if B==3:
        C=2
if A==2:
    if B==1:
        C=3
    if B==3:
        C=1
if A==3:
    if B==1:
        C==2
    if B==2:
        C==1

print(C)

Submission status: Runtime Error

Solution code:
N = int(input())
S, T  = input().split()

S_list = list(S)
T_list = list(T)
U_list = []
for i in range(N):
    U_list.append(S_list[i])
    U_list.append(T_list[i])

U = ''.join(U_list)
print(U_list)

Submission status: Runtime Error

Solution code:
N = int(input())
S, T  = input().split()

S_list = list(S)
T_list = list(T)
U_list = []
for i in range(N):
    U_list.append(S_list[i])
    U_list.append(T_list[i])

U = ''.join(U_list)
print(U)

Submission status: Runtime Error

Solution code:
# -*- coding: utf-8 -*-
a, b = map(int, input().split())
 
if a!=3 && b!=3:
  c = 3
elif a!=2 && b!=2:
  c = 2
elif a!=1 && b!=1:
  c = 1
  
print("{}".format(c))

Submission status: Runtime Error

Solution code:
# https://atcoder.jp/contests/abc148/tasks/abc148_c
import fractions
# math.gcdは3.5からなのでAtCoderで使えない
# import math


def main():
    (a, b) = [int(i) for i in input().split(" ")]
    print(int(a * b / fractions.gcd(a, b)))


if __name__ == '__main__':
    main()

Submission status: Runtime Error

Solution code:
A=int(input())
B=int(input())
if(A==1 and B==2):
  answer=3
elif(A==2 and B==3):
  answer=1
elif(A==3 and B==1):
  answer=2
print(answer)

Submission status: Runtime Error

Solution code:
num = int(input())
 
s1,s2 = input().split()
 
ans = ''
 
for i in range(num):
	ans = ans + s1[i]
	ans = ans + s2[i]
    
print(ans)

Submission status: Runtime Error

Solution code:
lst = [1,2,3]
l = list(map(int, input().split()))
lst.remove(l[0])
lst.remove(l[1])
print(lst)

Submission status: Runtime Error

Solution code:
N,S = map(int, input().split())
tmp = 1
a = 2
while (True):
  if N % a == 0 and S % a == 0:
    N,S = int(N / a), int(S / a)
    tmp *= a
    a = 1
  a += 1
  if N / 2 <= a or S / 2 <= a:
    break
print(tmp * S * N)

Submission status: Runtime Error

Solution code:
#-*- coding: utf-8 -*-
import math

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

Submission status: Runtime Error

Solution code:
A=int(input())
B=int(input())
if(A==1 and B==2):
  answer==3
elif(A==2 and B==3):
  answer==1
elif(A==3 and B==1):
  answer==2
print(answer)

Submission status: Runtime Error

Solution code:
l = [1, 2, 3]
A = int(stdin.readline().rstrip())
B = int(stdin.readline().rstrip())
l.remove(A)
l.remove(B)
print(l[0])

Submission status: Runtime Error

Solution code:
# -*- coding: utf-8 -*-
A=int(input())
B=int(input())
if A==1:
    if B==2:
        C=3
    if B==3:
        C=2
if A==2:
    if B==1:
        C=3
    if B==3:
        C=1
if A==3:
    if B==1:
        C==2
    if B==2:
        C==1

prnt(C)

Submission status: Runtime Error

Solution code:
i=int(input())
j=int(input())
print(str(6-(i+j))

Submission status: Runtime Error

Solution code:
# -*- coding: utf-8 -*-
a = int(input())
b = int(input())

if a==1 && b==2:
  c = 3
elif a==2 && b==1:
  c = 3
elif a==1 && b==3:
  c = 2
elif a==3 && b==1:
  c = 2
else:
  c = 1
  
print("{}".format(c))

Submission status: Runtime Error

Solution code:
import fractions
a,b=input().split()
a=int(a)
b=int(b)
lcm=a*b/fractions.gcd(a,b)
print(int(lcm))

Submission status: Runtime Error

Solution code:
x,y = map(int,input().split())

if (x==1)&(y==2):
    print('3')
elif (x==2)&(y==3):
    print('1')
elif x==3 & y==1:
    print('2')
elif x==1 & y==3:
    print('2')
elif x==2 & y==1:
    print('3')
else:print('1')

Submission status: Runtime Error

Solution code:
i=int(input())
j=int(input())
l=list(range(1,3,1))
l.remove(i)
l.remove(j)
a=l.pop(0)
print(a)

Submission status: Runtime Error

Solution code:
A = int(input())
B = int(input())
x=1
for i range(3):
  if x!=A and x!=B:
    print(str(x))
  x+=1

Submission status: Runtime Error

Solution code:
a, b = map(int, input().split())

c = a + b

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

Submission status: Runtime Error

Solution code:
s=[int(input()) for i in range(2)]
elif s[0]+s[1]==3:
	print("3")
elif s[0]+s[1]==4:
	print("2")
elif s[0]+s[1]==5:
	print("1")
else:
	print("error")

Submission status: Runtime Error

Solution code:
a, b = map(int, input().split())

c = a + b

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

Submission status: Runtime Error

Solution code:
i=int(input())
j=int(input())
ls=list(range(1,3))
ls.remove(i)
ls.remove(j)
a=ls.pop(0)
print(a)

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
a=input()
inputarray=[1,2,3]
inputarray.remove(a)
b=input()
inputarray1.remove(b)

Submission status: Runtime Error

Solution code:
n1 = int(input())
n2 = int(input())
 
print(n1)
print(n2)
 
if n1 == 1:
  if n2 == 2:
    print("3")
  else:
    print("2")
else n1 == 2:
  if n2 == 1:
    print("3")
  else:
    print("1")
else n1 ==3:
  if n2 == 1:
    print("2"):
  else:
    print("1"):

Submission status: Runtime Error

Solution code:
A = input()
B = input()

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

elif A = 2 and B = 1:
  print("3")

elif A = 2 and B = 3:
  print("1")

elif A = 3 and B = 1:
  print("2")

elif A = 3 and B = 2:
  print("1")

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
m = [1,2,3]
a = int(input())
b = int(input())

m.pop(a-1)
m.pop(b-1)
print(m[0])

Submission status: Runtime Error

Solution code:
a=int(input())
b=int(input())
c=1
for i in round(3):
  if a==c or b==c:
    c=c+1
  else:
    print(c)
    break

Submission status: Runtime Error

Solution code:
n1 = int(input())
n2 = int(input())
 
#print(n1)
#print(n2)
 
if n1 == 1:
  if n2 == 2:
    print("3")
  else:
    print("2")
else n1 == 2:
  if n2 == 1:
    print("3")
  else:
    print("1")
else n1 ==3:
  if n2 == 1:
    print("2")
  else:
    print("1")

Submission status: Runtime Error

Solution code:
i=input()
i.splitlines()
ls=list(range(1,3))
ls.remove(i[0])
ls.remove(i[1])
a=ls.pop()
print(a)

Submission status: Runtime Error

Solution code:
python src/train.py --dataset cifar10 --comet --ct 0.5 --at 0.5

Submission status: Runtime Error

Solution code:
import fractions
a,b = map(lambda x: int(x), input().split())

print(int(a * b / fractions.gcd(a, b)))

Submission status: Runtime Error

Solution code:
import math

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

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

print(lcm(A, B))

Submission status: Runtime Error

Solution code:
a, b = map(int, input().split())

print(6 - (a + b))

Submission status: Runtime Error

Solution code:
def gcd(a,b):
  if a==0:
    return b
  return gcd(b%a,a)
a,b = map(int,input().split())

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

Submission status: Runtime Error

Solution code:
i=input()
i.splitlines()
ls=list(range(1,3))
ls.remove(int(i[0]))
ls.remove(int(i[1]))
print(ls.pop())

Submission status: Runtime Error

Solution code:
A, B = map(int, input().split())
c = A + B

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

exit()

Submission status: Runtime Error

Solution code:
from fractions import gcd

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

print(int(a*b/gcd(a,b)))

Submission status: Runtime Error

Solution code:
A=input()
B=input()
if(A==1 and B==2):
  answer=3
elif(A==2 and B==3):
  answer=1
elif(A==3 and B==1):
  answer=2
print(answer)

Submission status: Runtime Error

Solution code:
a = int(input())
b = int(input())

 print(6-a-b)

Submission status: Runtime Error

Solution code:
a = int(input())
b = int(input())

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

Submission status: Runtime Error

Solution code:
a = int(input())
b = int(input())
x = [1,2,3]
del x[a-1]
del x[b-1]
print(x[0])

Submission status: Runtime Error

Solution code:
a, b= map(int, input().split())
print(6-a-b)

Submission status: Runtime Error

Solution code:
a, b=(int(i) for i in input().split())

import fractions

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

print(lcm(a, b))
# 12

Submission status: Runtime Error

Solution code:
a, b = map(int, input().split())


print(6 - (a + b))

Submission status: Runtime Error

Solution code:
a = int(input())
b = int(input())
x = [1,2,3]
del x[a]
del x[b]
print(x[0])

Submission status: Runtime Error

Solution code:
#include <cstdio>
#include <cstring>
#include <cassert>
#include <cmath>
#include <iostream>
#include <algorithm>
#include <string>
#include <bitset>
#include <vector>
#include <queue>
#include <map>
#include <set>
using namespace std;
using ll = long long;
using ii = pair<int, int>;
using pll = pair<ll, ll>;

int main() {
	int a, b;
	scanf("%d%d", &a, &b);
	printf("%d\n", 6 - a - b);
}

Submission status: Runtime Error

Solution code:
a = int(input())
b = int(input())
c = [i for i in range(1,4)]
for j in range(1,4):
    if c[j] != a and c[j] != b:
        print(int(c[j]))

Submission status: Runtime Error

Solution code:
A, B = map(int, input().split())
c = A + B

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

Submission status: Runtime Error

Solution code:
answer = [1, 2, 3]

in1, in2 = map(int, input().split())

answer.remove(in1)
answer.remove(in2)

return answer[0]

Submission status: Runtime Error

Solution code:
A = int(input())
B = int(input())

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

elif A = 2 and B = 1:
  print("3")

elif A = 2 and B = 3:
  print("1")

elif A = 3 and B = 1:
  print("2")

elif A = 3 and B = 2:
  print("1")

Submission status: Runtime Error

Solution code:
N = int(input())
tmp = input()
S,T =tmp.split()
out = ''
for i in range(N):
  out += S[i] + T[i]
print(out)

Submission status: Runtime Error

Solution code:
n1 = int(input())
n2 = int(input())

#print(n1)
#print(n2)

if n1 == 1:
  if n2 == 2:
    print("3")
  else:
    print("2")
else n1 == 2:
  if n2 == 1:
    print("3")
  else:
    print("1")
else n1 ==3:
  if n2 == 1:
    print("2"):
  else:
    print("1"):

Submission status: Runtime Error

Solution code:
a, b = map(int, input().split())

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

Submission status: Runtime Error

Solution code:
A,B = map(int, input().split())
if A+B == 3:
    print(3)
elif A+B == 4:
    print(2)
else:
    print(3)

Submission status: Runtime Error

Solution code:
a=int(input())
b=int(input())
prit(6-a-b)

Submission status: Runtime Error

Solution code:
print1

Submission status: Runtime Error

Solution code:
  if b == 2:
    print('3')
  else
    print('2')

Submission status: Runtime Error

Solution code:
a = int(input())
b = int(input())
c = [i for i in range(1,4)]
for j in range(1,4):
    if c[j] != a and c[j] != b:
        print(int(c[j]))

Submission status: Runtime Error

Solution code:
A = int(input())
B = int(input())

ans = 0

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

Submission status: Runtime Error

Solution code:
a = int(input())
b = int(input())


list = [1,2,3]

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

print(list[0])

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
A = int(input())
B = int(input())

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

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
a = int(input())
b = int(input())

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

Submission status: Runtime Error

Solution code:
A = int(input())
B = int(input())

if A == 1 and B ==2:
  return 3
elif A == 1 and B ==3:
  return 2
elif A == 2 and B ==1:
  return 3
elif A == 2 and B ==3:
  return 1
elif A == 3 and B ==1:
  return 2
else:
  return 1

Submission status: Runtime Error

Solution code:
A,B = map(int, input().split())
if (A==1) and (B==2):
    print(3)
elif (A==2) and (B==3):
    print(1)
else:
    print(2)

Submission status: Runtime Error

Solution code:
a, b = (int(i) for i in input().split())
if {a,b} == {1,2}:
    print(3)
elif {a,b}=={2,3}:
    print(1)
elif {a,b}== {3,1}:
    print(2)

Submission status: Runtime Error

Solution code:
i=input()
i.splitlines()
ls=list(range(1,3))
ls.remove(i[0])
ls.remove(i[1])
print(ls.pop())

Submission status: Runtime Error

Solution code:
N = int(input())
S,T =  input().split()
ans = ""
for i,j in zip(S,T):
  ans = ans+i+j
  
print(ans)

Submission status: Runtime Error

Solution code:
nums = [1,2,3]
a = int(input())
b = int(input())
c = 0

for i in nums:
  if i != a || i != b:
    c = i
    
print(c)

Submission status: Runtime Error

Solution code:
A = int(input())
B = int(input())
if (A == 1and 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 == 1 and B == 3)
    print(3)

Submission status: Runtime Error

Solution code:
A = int(input())
B = int(input())

num = [1,2,3]

AB = [A,B]
print(num - AB)

Submission status: Runtime Error

Solution code:
f = input().split(" ")
print(6 - int(f[0]) - int(f[1]) )

Submission status: Runtime Error

Solution code:
a,b = map(int ,input().split())
l=[1,2,3]
l.pop(l.index(a))
l.pop(l.index(b))
print(l[0])

Submission status: Runtime Error

Solution code:
# -*- coding: utf-8 -*-

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


truelist = [1,2,3]

truelist.pop(a)
truelist.pop(b)

print(truelist[0])

Submission status: Runtime Error

Solution code:
A = input()
B = input()

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

Submission status: Runtime Error

Solution code:
a=int(input())
b=int(input())

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

Submission status: Runtime Error

Solution code:
A = int(input())
B = int(input())

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

Submission status: Runtime Error

Solution code:


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

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

Submission status: Runtime Error

Solution code:
nums = [1,2,3]
a = int(input())
b = int(input())
c = 0

for i in nums:
  if i != a && i != b:
    c = i
    
print(c)

Submission status: Runtime Error

Solution code:
A = int(input()) -1
B = int(input()) -1

correct_list = [1,2,3]
correct_list.pop(A)
correct_list.pop(B)
print(correct_list[0])

Submission status: Runtime Error

Solution code:
import numpy as np
import math
import itertools
import networkx as nx
import matplotlib.pyplot as plt

s = input().split()
a=int(s[0])
s = input().split()
b = int(s[0])
print(6-a-b)

Submission status: Runtime Error

Solution code:
s=int(input())
t=int(input())
list=[]
list.append(1)
list.append(2)
list.append(3)
del list[s-1]
del list[t-1]
print(*list)

Submission status: Runtime Error

Solution code:
def main():
    a = int(input())
    b = int(input())
    ans_list = [1, 2, 3]
    ans_list.pop(a-1)
    ans_list.pop(b-1)

    ans = ans_list[0]
    print(ans)


if __name__ == '__main__':
    main()

Submission status: Runtime Error

Solution code:
i=int(input())
j=int(input())
ls=range(1,3)
ls.remove(i)
ls.remove(j)
print(ls.pop())

Submission status: Runtime Error

Solution code:
choice = [1, 2, 3]
a = input()
b = input()
choice.remove(a)
choice.remove(b)
print(choice)

Submission status: Runtime Error

Solution code:
list=[1,2,3]

A=input()
B=input()

C=list.remove(A).remove(B)

print(C[0])

Submission status: Runtime Error

Solution code:
a, b = map(int, input().split())
print(6 - a - b)

Submission status: Runtime Error

Solution code:
a=int(input)
b=int(input)

print(6-a-b)

Submission status: Runtime Error

Solution code:
# -*- coding:utf-8 -*-
A=int(input())
B=int(input())
if A+B==3:
    print(3)
elif A+B=4:
    print(2)
else:
    print(1)

Submission status: Runtime Error

Solution code:
A,B = map(int, input().split())
if (A==1) and (B==2):
    print(3)
if (A==2) and (B==3):
    print(1)
if (A==3) and (B==1):
    print(2)

Submission status: Runtime Error

Solution code:
a = int(input())
b = int(input())
arr = [1,2,3]
for i in arr:
  if i != a or i !=b:
	print(i)

Submission status: Runtime Error

Solution code:
a,b  = map(int,input.split())
  
if a != 1 and b != 1 :
	print(1)
elif a != 2 and b != 2 :
	print(2)
else :
print(3)

Submission status: Runtime Error

Solution code:
s = input().split()
a=int(s[0])
s = input().split()
b = int(s[0])
print(6-a-b)s = input().split()
a=int(s[0])
s = input().split()
b = int(s[0])
print(6-a-b)

Submission status: Runtime Error

Solution code:
a,b=map(int,input().sprit())
if(a+b==3):
  print("3")
elif(a+b==4):
  print("2")
else:
  print("1")

Submission status: Runtime Error

Solution code:
a,b=(int(i)for i in input().split())

print(6-a-b)

Submission status: Runtime Error

Solution code:
import sys; readline = sys.stdin.readline
from deque import deque

A = int(readline())
B = int(readline())

print(set([1,2,3]) - set([A, B]))

Submission status: Runtime Error

Solution code:
#include <algorithm>
#include <bitset>
#include <complex>
#include <deque>
#include <exception>
#include <fstream>
#include <functional>
#include <iomanip>
#include <ios>
#include <iosfwd>
#include <iostream>
#include <istream>
#include <iterator>
#include <limits>
#include <list>
#include <locale>
#include <map>
#include <memory>
#include <new>
#include <numeric>
#include <ostream>
#include <queue>
#include <set>
#include <sstream>
#include <stack>
#include <stdexcept>
#include <streambuf>
#include <string>
#include <typeinfo>
#include <utility>
#include <valarray>
#include <vector>
#include <array>
#include <atomic>
#include <chrono>
#include <condition_variable>
#include <forward_list>
#include <future>
#include <initializer_list>
#include <mutex>
#include <random>
#include <ratio>
#include <regex>
#include <scoped_allocator>
#include <system_error>
#include <thread>
#include <tuple>
#include <typeindex>
#include <type_traits>
#include <unordered_map>
#include <unordered_set>
using namespace std;
using ll = long long;
#define MAX_N 1000001
#define MAX_M 100010
const long long mod = 1e9 + 7;
#define vec vector<int>
#define vecll vector<ll>
#define vecllvec vector<vector<ll>>
#define vecb vector<bool>
#define vecBvec vector<vector<bool>>
#define vecst vector<string>
#define veche vector<char>
#define vecd vector<double>
#define vecvec vector<vector<int>>
#define vecDvec vector<vector<double>>
#define vecHvec vector<vector<char>>
#define all(x) (x).begin(),(x).end()
#define ent cout<<endl
#define printvec(vec) for(int aqw=0;aqw<vec.size();aqw++){cout<<vec[aqw]<<" ";}ent;
#define rep1(n) for(ll i = 0; i < (n); ++i)
#define rep2(i, n) for(ll i = 0; i < (n); ++i)
#define rep3(i, a, b) for(ll i = (a); i < (b); ++i)
#define rep4(i, a, b, c) for(ll i = (a); i < (b); i += (c))
template<class T> inline bool chmax(T & a, T b) { if (a < b) { a = b; return 1; } return 0; }
template<class T> inline bool chmin(T & a, T b) { if (a > b) { a = b; return 1; } return 0; }
#define INF 1e+9
#define print(x) cout<<x<<endl;
using P = pair<int, int>;
#define PLL pair<ll, ll>;
#define MAX_V 1000
#define PI 3.141592653589793
#define vecP vector<P>
// cout << setprecision(15) << std::fixed;


int main() {
	int n,b;
	cin >> n >> b;
	for (int i = 1;i < 4;i++) {
		if (i == n || i == b) continue;
		cout << i << endl;
	}
}

Submission status: Runtime Error

Solution code:
a = int(input())
b = int(input())
print(6 - a - b)
    
print(ans)

Submission status: Runtime Error

Solution code:
#include <iostream>
#include <cstdio>
#include <cstdlib>
#include <algorithm>
#include <cmath>
#include <vector>
#include <set>
#include <map>
#include <unordered_set>
#include <unordered_map>
#include <queue>
#include <ctime>
#include <cassert>
#include <complex>
#include <string>
#include <cstring>
#include <chrono>
#include <random>
#include <queue>
#include <bitset>
#include <stack>
#include <functional>

#ifdef LOCAL
	#define eprintf(...) fprintf(stderr, __VA_ARGS__)
#else
	#define eprintf(...) 42
#endif

#define rep(i, n) for(int i = 0, i##_len = (n); i < i##_len; ++i)
#define repp(i, m, n) for(int i = m, i##_len = (n); i < i##_len; ++i)
#define reprev(i, n) for(ll i = (n-1LL); i >= 0; --i)
#define all(x) (x).begin(), (x).end()
template <class T> bool chmax(T &a, const T &b) { if (a < b) { a = b; return 1; } return 0; }
template <class T> bool chmin(T &a, const T &b) { if (b < a) { a = b; return 1; } return 0; }
template <class T> T gcd(T a, T b) { return b ? gcd(b, a % b) : a; }
using namespace std;

typedef long long ll;
typedef unsigned long long ull;
typedef pair <ll,ll> P;
typedef long double ld;

int main(void)
{
	cin.tie(0);
	ios::sync_with_stdio(false);
	int a, b;
	cin >> a >> b;
	cout << 6 - (a + b ) << endl;
	return 0;
}