2)
number_list = []
for number in range(10):
number_list.append(int(input()))
second_list = []
for n in number_list:
if n % 3 == 0:
second_list.append(n)
amount = 0
for num in second_list:
amount += num
print(amount)
3)
if n % 2 != 0:
multiplication = 1
multiplication *= num
print(multiplication)
2)
number_list = []
for number in range(10):
number_list.append(int(input()))
second_list = []
for n in number_list:
if n % 3 == 0:
second_list.append(n)
amount = 0
for num in second_list:
amount += num
print(amount)
3)
number_list = []
for number in range(10):
number_list.append(int(input()))
second_list = []
for n in number_list:
if n % 2 != 0:
second_list.append(n)
multiplication = 1
for num in second_list:
multiplication *= num
print(multiplication)