#C10519. Sum of Squares
Sum of Squares
Sum of Squares
Given a list of integers, your task is to compute the sum of the squares of each integer.
In mathematical terms, if the input integers are \( a_1, a_2, \dots, a_n \), you are required to compute \( S = a_1^2 + a_2^2 + \cdots + a_n^2 \).
The input will be a single line of space-separated integers. The output should be the computed sum.
inputFormat
The input consists of a single line containing space-separated integers. For example:
1 2 3 4
outputFormat
Output the sum of the squares of the provided integers. For the above example, the output should be:
30## sample
1 2 3 4
30
</p>