# list = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10]

# for num in list:
#     if num % 2 == 0:
#         print(num, end = " ")
    
numbers = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10]

for num in numbers:
    if num % 2 == 0:
        print(num, end = " ")