// Arup Guha
// 2/8/2013
// Solution to 2013 HS Online Problem: Yuno

import java.util.*;

public class yuno {

	public static void main(String[] args) {

		Scanner stdin = new Scanner(System.in);
		int numCases = Integer.parseInt(stdin.nextLine().trim());

		// Go through all the cases.
		for (int loop=0; loop<numCases; loop++) {
			
			// Just do what they say =)
			String line = stdin.nextLine();
			System.out.println(line.toUpperCase()+"...");
			line = stdin.nextLine();
			System.out.println("Y U NO "+line.toUpperCase()+"?");
			System.out.println();
		}
	}
}