using System; using System.Collections.Generic; using System.Linq; using static System.Console; class Program { static void Main() { var rd = ReadLine().Split().Select(double.Parse).ToArray(); WriteLine(Math.Sqrt(rd[1] * rd[1] - rd[0] * rd[0])); } }