Problems
330 - Diagonal
SUBMIT PROBLEM

Diagonal

Time Limit: 1 sec

 

The Problem

Suppose you are standing in a Square room. There is a 45 degree angle line is drawn. Can you tell me what the length of line of that room is?

Note: The Diagonal of a Square is root (2) * length of one side

 

 

 

 

The Input

The input file contains a series of line. Each line contains an integer number length of one wall of that room, X (X <= 9999). Input is terminated by EOF

 

The Output

For each line of input the output will show the length of line is drawn in the room rounded to 2 decimal points.

 

Sample Input

625

225

12

 

Sample Output

883.88

318.20

16.97

 

 

 

 

 

Problem Setter: Samia Safa Ahmed