#C479. Square Elements
Square Elements
Square Elements
Given an array of integers, your task is to output a new array where each element is squared. The order of the elements must remain the same as in the input.
For example, if the input array is [1, 2, 3, 4, 5], the output should be [1, 4, 9, 16, 25].
The squaring operation can be mathematically described as:
$$ f(x) = x^2 $$
Please note that the input will be given via stdin and the output should be produced to stdout.
inputFormat
The first line contains an integer n (where 0 ≤ n ≤ 105) which denotes the number of elements in the array.
The second line contains n space-separated integers representing the elements of the array.
outputFormat
Output a single line containing n space-separated integers where each integer is the square of the corresponding input number, preserving the original order of the array.
## sample5
1 2 3 4 5
1 4 9 16 25