def regras(x):
if x < 100:
if x % 2 == 0:
return x
else:
return (x+x)
lista = [100,200,1000,3000,2,3,4,5,6,7,8]
v1 = list(filter(lambda x: x is not None, map(regras,lista)))
print(v1)
ZGVmIHJlZ3Jhcyh4KToKICAgIGlmIHggPCAxMDA6CiAgICAgICAgaWYgeCAlIDIgPT0gMDoKICAgICAgICAgICAgcmV0dXJuIHgKICAgIGVsc2U6CiAgICAgICAgcmV0dXJuICh4K3gpCgpsaXN0YSA9IFsxMDAsMjAwLDEwMDAsMzAwMCwyLDMsNCw1LDYsNyw4XQoKdjEgPSBsaXN0KGZpbHRlcihsYW1iZGEgeDogeCBpcyBub3QgTm9uZSwgbWFwKHJlZ3JhcyxsaXN0YSkpKQpwcmludCh2MSk=