e-olymp
favorite We need a little bit of your help to keep things running, click on this banner to learn more
Competitions

Week 1: November 2 – 8. Introduction to C language. Part 1

Sum of squares

Find the sum of the squares of two numbers.

Input

Two integers a and b. The numbers do not exceed 109 by absolute value.

Output

Print a single integer a2 + b2.

Time limit 1 second
Memory limit 128 MiB
Input example #1
2 3
Output example #1
13