input_nums = set([int(e) for e in input().split()]) one_to_ten = set([e for e in range(1, 11)]) diff = one_to_ten.difference(input_nums) diff.pop()