#C13962. Square the Elements
Square the Elements
Square the Elements
Given a list of integers, your task is to produce a new list in which each element is the square of the corresponding element in the original list. For any integer \(x\), its square is computed as \(x^2\).
The input begins with an integer \(n\) representing the number of elements, followed by a second line containing \(n\) space-separated integers. The output should present the squared values in the same order, separated by spaces.
inputFormat
The input is given via standard input and consists of two lines:
- The first line contains a single integer \(n\), the number of integers in the list.
- The second line contains \(n\) space-separated integers.
outputFormat
Output a single line to standard output containing \(n\) space-separated integers. Each integer should be the square of the corresponding input integer.
## sample5
-2 -1 0 1 2
4 1 0 1 4