// Arup Guha
// 10/14/2015
// Solution to 2000 UCF HS Contest Problem: Cinco de Mayo

import java.util.*;

public class mayo {

	public static void main(String[] args) {

		Scanner stdin = new Scanner(System.in);
		int numCases = Integer.parseInt(stdin.nextLine());

		// Process each case.
		for (int loop=1; loop<=numCases; loop++) {

			// Read in number of meals.
			int numMeals = Integer.parseInt(stdin.nextLine());
			int mayoCount = 0;

			// Go through each meal.
			for (int i=0; i<numMeals; i++) {

				// Search for mayo or mayonnaise. If we find it, add and get out.
				StringTokenizer tok = new StringTokenizer(stdin.nextLine());
				while (tok.hasMoreTokens()) {
					String item = tok.nextToken();
					if (item.equals("mayo") || item.equals("mayonnaise")) {
						mayoCount++;
						break;
					}
				}
			}

			// Output result.
			if (mayoCount >= 5) 	System.out.println("Week #"+loop+": Cinco de Mayo!");
			else				System.out.println("Week #"+loop+": Way to go, Mason!");
			System.out.println();
		}
	}
}
