# 2019/12/28 b=list(map(int,input().split())) for i in range(1,11): if i in b:continue print(i) break