Competitions

# Week 4: November 30 – December 6. While Loop. Part 1

# Squares of numbers

Print the squares of all positive integers not greater than **n** in increasing order.

#### Input

One positive integer **n** (**n** ≤ `10`

).^{9}

#### Output

Print the list of all positive integers not greater than **n** in increasing order.

Input example #1

10

Output example #1

1 4 9

Input example #2

20

Output example #2

1 4 9 16