A,B=(float(i) for i in input (). split ()) A2=A*A B2=B*B A2-=B2 A-=B A2/=A print (int(A2))