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

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

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

print(6-A-B)

Solution (Python):
def main():

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

    return 6 - A - B


if __name__ == '__main__':
    print(main())

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

ret = set([1, 2, 3])
ret.remove(A)
ret.remove(B)
print(*ret)

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

Solution (Python):
k = [1,2,3]
A = int(input())
B = int(input())
k.remove(A)
k.remove(B)
print(k[0])

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

Solution (Python):
def p_a():
    a = int(input())
    b = int(input())
    print(6 - a - b)
    
p_a()

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

Solution (Python):
A = int(input())
B = int(input())
ans = 6 - A - B
print(ans)

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

print(6-a-b)

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

ans = 6 - a - b

print(ans)

Solution (Python):
import math

def makelist(n, m):
    return [[0 for _ in range(m)] for _ in range(n)]





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

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

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

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

Solution (Python):
print(6-int(input())-int(input()))

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

Solution (Python):
a = int(input())
b = int(input())
ans = [1,2,3]
ans.remove(a)
ans.remove(b)
print(ans[0])

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

Solution (Python):
A = int(input())
B = int(input())
ans = 6 - A - B
print(ans)

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

l = [True] * 3
l[a-1] = False
l[b-1] = False
print(l.index(True) + 1)

Solution (Python):
a=int(input())
b=int(input())
print(6//a//b)

Solution (Python):
n = 6
n -= int(input())
n -= int(input())
print(n)

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

Solution (Python):
import sys
sys.setrecursionlimit(10**9)
INF=10**18
def input():
    return sys.stdin.readline().rstrip()

def main():
    A=int(input())
    B=int(input())
    print(6-(A+B))

if __name__ == '__main__':
    main()

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

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

Solution (Python):
import bisect
import cmath
import heapq
import itertools
import math
import operator
import os
import re
import string
import sys
from collections import Counter, deque, defaultdict
from copy import deepcopy
from decimal import Decimal
from fractions import gcd
from functools import lru_cache, reduce
from operator import itemgetter, mul, add, xor

import numpy as np

if os.getenv("LOCAL"):
    sys.stdin = open("_in.txt", "r")

sys.setrecursionlimit(10 ** 9)
INF = float("inf")
IINF = 10 ** 18
MOD = 10 ** 9 + 7



a, b = [int(sys.stdin.buffer.readline()) for _ in range(2)]
for i in range(1, 4):
    if i not in (a, b):
        print(i)
        break

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

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

Solution (Python):
A = int(input())
B = int(input())
print(6-A-B)

Solution (Python):
a = int(input())
b = int(input())
print(6 // (a*b))

Solution (Python):
import itertools, heapq, bisect
from collections import defaultdict as ddic, deque, Counter

rr = raw_input
rri = lambda: int(raw_input())
rrm = lambda: map(int, raw_input().split())
MOD = 10 ** 9 + 7


X = rri()
Y = rri()
print 6 - X-Y

Solution (Python):
n = int(input())
a = int(input())
print(6-n-a)

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