Using System;
public class Test
{
public static int Main()
{
double a=Convert.ToDouble(Console.ReadLine());
double c=Convert.ToDouble(Console.ReadLine());
double b=Math.Sqrt(c*c-a*a);
double r=(a+b-c)/2;
Console.WriteLine("Катет = "+Math.Round(b,2));
Console.WriteLine("r вписанной окр. = "+Math.Round(r,2));
return 0;
}
}