# INPUT NUMBER OF EVEN NUMBERS
def print_error_messages(): # function to print error message if user enters a negative number
print("Invalid number, please enter a Non-negative number!")
exit()
n = int(input()) # user input
start = 0
if n < 0:
print_error_messages()
for i in range(n): # loop till the number n entered by the user
print(start) # prints 0 first as it is an even number
start += 2 # increases the value of start by 2 to get to the next even number
# even numbers are printed starting from 0