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