def f_miss(input): for i in range(1, len(input)+1): if i not in input: print('Missing',i) break