##############################################################################
# Python From Scratch
# Autor: Nilo Ney Coutinho Menezes
# Editora Novatec (c) 2010-2024
# Site: https://pythonfromscratch.com
#
# File: listing\chapter 05\05.1087 - No Title.py
# Description: No Title
##############################################################################
end = int(input("Enter the last number to print:"))
x = 0
while x <= end:
if x % 2 == 0:
print(x)
x = x + 1