Hide

Problem A
Ascending Squares

Write a program that, given $n$, prints out a list containing the first $n$ squares in ascending order, starting at $1$.

Input

The input consists of one line containing one integer $n$, with $1 \leq n \leq 10^5$.

Output

The output consists of 1 line, the string representation of the list.

Sample Input 1 Sample Output 1
5
[1, 4, 9, 16, 25]
Sample Input 2 Sample Output 2
1
[1]
Sample Input 3 Sample Output 3
10
[1, 4, 9, 16, 25, 36, 49, 64, 81, 100]

Please log in to submit a solution to this problem

Log in