import sys def cyfryparzyste(m, n,): out = [] for i in range(m, n+1): parzyste = 1 for c in str(i): if int(c)%2!=0: parzyste=0 break if parzyste: out.append(i) return out a, b =[ int(i) for i in sys.argv[1:3]] print(', '.join([str(i) for i in cyfryparzyste(a, b)]))