eolymp
Competitions

PP1 Week 1 Introduction Part 2

The square of sum

Time limit 1 second
Memory limit 128 MiB

Find the square of the sum of digits for a four-digit positive integer.

Input data

One four-digit positive integer n.

Output data

Print the square of the sum of digits for number n.

Examples

Input example #1
4765
Output example #1
484