from random import randint
a = [randint(1000,2000) for i in range(300)]
summ = 0
for i in a:
if i % 2 == 0:
summ += i
print(summ)
from random import randint
a = [randint(1000,2000) for i in range(300)]
summ = 0
for i in a:
if i % 2 == 0:
summ += i
print(summ)