# A

# E = list(map(int,input().split()))
# B = int(input())
# L = list(map(int,input().split()))


# cnt = 0
# for i in range(0,10):
#   if i in E and i in L:
#     cnt += 1

# if cnt == 6:
#   print(1)
# elif cnt == 5:
#   if B in L:
#     print(2)
#   else:
#     print(3)
# elif 5 > cnt >= 3:
#   print(8-cnt)
# else:
#   print(0)

