// Arup Guha
// 4/23/2013
// Solution to 2013 UCF High School Contest Problem: Musical Chairs

import java.util.*;
import java.io.*;

public class chairs {
	
	public static void main(String[] args) throws Exception {
		
		Scanner fin = new Scanner(new File("chairs.in"));
		int n = fin.nextInt();
		
		// Go through all cases.
		for (int loop=1; loop<=n; loop++) {
			
			// Just read and subtract...
			int a = fin.nextInt();
			int b = fin.nextInt();
			System.out.println("Round #" + loop+": "+(a - b)+ " children eliminated");
		}
	}

}
