a, b = map(int, input().split()) print((abs(a**2-b**2)**(0.5)))