eolymp
bolt
Try our new interface for solving problems
Problems

The square of sum

The square of sum

Find the square of the sum of digits for a four-digit positive integer. \InputFile One four-digit positive integer $n$. \OutputFile Print the square of the sum of digits for number $n$.
Time limit 1 second
Memory limit 128 MiB
Input example #1
4765
Output example #1
484