Time

12:49:16
23 May 2012
Version for print

Sum of squares

   Find the sum of the squares of two numbers.


Specifications

   Input

   The input file contains two integers A and B. The numbers do not exceed 109 in absolute value.

   Output

   Bring in the output file a single integer - A2+B2.


Problem information

Time Limit: 1 seconds
Memory Limit: 64 MB
Balls for the passed test: 11.1111
Complexity: 12% 498/564

Example

Example input

2 3

Example output

13


← The sum of two Problems The sum of all →