a,b=gets.split &:to_f p Math.sqrt((a*a-b*b).abs)