Problems
236 - Ladder
SUBMIT PROBLEM

Ladder

Time Limit: 1 sec

 

The Problem

A  ladder is leant against a perpendicular  wall.  You will be given the distance S from wall's grounded point to ladders grounded point and the  height H from ground to ladders upper point. You have to find the length of the ladder.

 

 

The Input

There will be two input in each line (S<100) and (L<100).

 

The Output

You have to print the length of the ladder rounded to two decimal point in a separate line.

 

Sample Input

23 45

 

Sample Output

50.54

 

 

 

 

 

Problem Setter: Parag Paul