while 1: a,b=map(float,raw_input().split()) print '{0:.2f}'.format((a*a+b*b)**.5)