// Arup Guha
// Solution to 2011 MCPC Problem C: Pizza Pricing
// 10/6/2013

import java.util.*;

public class c {

	public static void main(String[] args) {

		Scanner stdin = new Scanner(System.in);
		int n = stdin.nextInt();
		int loop = 1;
		while (n != 0) {

			// Initialize best.
			double bestRatio = 0;
			int bestD = 0;

			// Go through each pizza
			for (int i=0; i<n; i++) {

				// Evaluate this one.
				int diameter = stdin.nextInt();
				int price = stdin.nextInt();
				double area = Math.PI*Math.pow(diameter/2.0, 2);
				double thisRatio = price/area;
				
				// Update if first one or best one.
				if (i==0 || thisRatio < bestRatio) {
					bestRatio = thisRatio;
					bestD = diameter;
				}
			}
			
			// Output result.
			System.out.println("Menu "+loop+": "+bestD);
			n = stdin.nextInt();
			loop++;
		}
	}
}