The square of sum
Execution time limit is 1 second
Runtime memory usage limit is 128 megabytes
Find the square of the sum of digits for a four-digit positive integer.
Input
One four-digit positive integer .
Output
Print the square of the sum of digits for number .
Examples
Input #1
Answer #1
Submissions 16K
Acceptance rate 68%