A,B=map(int,input().split()) def solve(A,B): L=A*A+B*B if A