org = open('org.txt').read().split() smp = open('smp.txt').read().split() for num in (set(smp) - set(org)): print num