import java.util.Scanner;
import java.io.FileNotFoundException;
import java.io.File;
public class PopDen{
public static void main( String[] args ){
Scanner fileScanner = null;
File fileObj = new File("countryData.tab");
try{
fileScanner = new Scanner( fileObj );
}catch(FileNotFoundException e){
System.err.println(e.getMessage());
System.exit(1);
}
while( fileScanner.hasNext() ){
String countryName = fileScanner.next();
if( countryName.startsWith("#") ){
String header = fileScanner.nextLine();
continue;
}
int population = fileScanner.nextInt();
double area = fileScanner.nextDouble();
double populationDensity = population / area;
System.out.println( countryName + "\t" +
Math.round(populationDensity*10.0)/10.0
);
}
}
}