#K82367. Square Each Element in a List
Square Each Element in a List
Square Each Element in a List
You are given a list of integers. Your task is to compute the square of each integer and output the resulting list. The squaring operation is defined mathematically as \(x^2\).
Example:
Input: 1 2 3 4 5 Output: 1 4 9 16 25
If the input list is empty, output an empty line.
inputFormat
The input is provided as a single line containing space-separated integers. If there are no integers, the input will be an empty line.
outputFormat
Output the squares of the given integers in the same order, separated by a single space. If the input is empty, output an empty line.
## sample1 2 3 4 5
1 4 9 16 25