import java.io.*;

public class SortGolfers {

    public static void main (String[] args)
        throws FileNotFoundException, IOException {

	String filename = "data";
        FileReader fileReader = new FileReader (filename);
        BufferedReader in = new BufferedReader (fileReader);

	// put the golfers in the queue
        while (true) {
            String s = in.readLine();
            if (s == null) break;
	    System.out.println (s);

	    // make a Golfer object and put it in a Priority Queue
        }

	// print the elements of the Priority Queue in descending
	// order of priority
    }
}
