import java.util.Scanner;
import java.io.File;
import java.io.FileNotFoundException;
public class PopDen{
public static void main( String[] args ){
String filename = "countryData.tab";
File filePathObj = new File(filename);
Scanner s = null;
try{
s = new Scanner(filePathObj);
}catch(FileNotFoundException e){
System.err.println("Sorry, unable to open " + filename + ": " + e.getMessage());
System.exit(1);
}
String header = s.nextLine();
System.err.println("Ignoring the header line: " + header);
while(s.hasNext()){
String country = s.next();
int population = s.nextInt();
double area = s.nextDouble();
System.out.println( country + " " + Math.round(population / area * 10.0)/10.0);
}
s.close();
}
}