public void process() {
		try{
			BufferedReader reader = new BufferedReader(new FileReader(new File("FB_HackerCup/input.txt")));
			PrintWriter writer = new PrintWriter(new FileWriter(new File("FB_HackerCup/output.txt")));
			
			int T = Integer.parseInt(reader.readLine());
			for(int t = 1; t <= T; t++) {
				String temp = reader.readLine().trim();
				String[] strs = temp.split(" ");
				int N = Integer.parseInt(strs[0]);
				int M = Integer.parseInt(strs[1]);
				int P = Integer.parseInt(strs[2]);
				
				ArrayList<Player> players = new ArrayList<Player>();
				for(int i = 0; i < N; i++) {
					Player p = new Player(reader.readLine().trim());
					players.add(p);
				}
				Collections.sort(players);
				
				for(int i = 0; i < N; i++) {
					players.get(i).number = i + 1;
				}
				
				String names = playing(players, M, P);
				writer.println("Case #" + t + ": " + names);
			}
			
			reader.close();
			writer.close();
		} catch(Exception e) {
			e.printStackTrace();
		}
	}