r = []
for i in range(1000):
	if any((e in str(i)) for e in '02468'):
		continue
	r.append(i)
print(r)