/* package whatever; // don't place package name! */

import java.util.*;
import java.lang.*;
import java.io.*;
import java.text.*;

/* Name of the class has to be "Main" only if the class is public. */
class Ideone
{
	public static void main (String[] args) throws java.lang.Exception
	{
		// your code goes here

Scanner in = new Scanner(System.in);
			String s ="";
		//	int i=0;
			String b;
			DecimalFormatSymbols st = new DecimalFormatSymbols();
			st.setDecimalSeparator('.');
			DecimalFormat f = new DecimalFormat("#,####0.0000",st);
			while(in.hasNextLong()){
				
					
				
				b=in.nextLine();
				if(b.contains(" ")){
					for(String r:b.split(" ")){
						s=r + " " + s;
					}
				}else{
					s = b +" " + s;
					}
			//	i++;
				
				
				//System.out.println("i= "+i);
			}
			if (s.contains("\n")){
				s.replace("\n","ups");
			}
			for(String r:s.split(" ")){
				//if(r.contains("\n")){
			//	System.out.println(r);
				System.out.println(f.format(Math.sqrt(Long.valueOf(r))));
			//	}
			}
        
	}
}