Four-digit positive integer is given. Find the sum of squares of its digits.
One four-digit positive integer n (1000 ≤ n ≤ 9999).
Print the sum of squares of digits of number n.