# coding: utf-8 data = list(map(int, input().split())) for i in range(1, 11): if data.count(i) == 0: print(i)