ls = list(map(int, input().split())) for x in range(1, 11): if not x in ls: print(x)