// Arup Guha
// 2/2/2014
// Solution to 2014 UCF HS Online Contest Problem: LTE Metawish

import java.util.*;

public class metawish {

	public static void main(String[] args) {

		Scanner stdin = new Scanner(System.in);
		int numCases = Integer.parseInt(stdin.nextLine().trim());

		// Process each case.
		for (int loop=1; loop<=numCases; loop++) {

			// Read this wish.
			String line = stdin.nextLine();

			boolean okay = true;

			// Make sure it's long enough.
			if (line.length() < 10) okay = false;
			String lineRest = "";
			if (okay) lineRest = line.substring(10).toLowerCase();

			// You break the rules by not starting with "I wish for", or by having "wish" again.
			if (okay) okay = line.substring(0,10).equals("I wish for") && !lineRest.contains("wish");

			// Print output.
			if (okay)
				System.out.println("Wish Response #"+loop+": Your wish will be granted.");
			else
				System.out.println("Wish Response #"+loop+": Stop trying to wish for more wishes!");
		}
	}
}