// Arup Guha
// 2/2/2014
// Solution to 2014 UCF HS Online Contest Problem: Shadow

import java.util.*;

public class shadow {

	final static double DISTANCE = 97.0;

	public static void main(String[] args) {

		Scanner stdin = new Scanner(System.in);
		int numCases = stdin.nextInt();

		// Process each case.
		for (int loop=1; loop<=numCases; loop++) {
			double speed = stdin.nextDouble();
			String name = stdin.next();
			double time = DISTANCE/speed;
			System.out.printf("Traveler #%d, %s: %.2f seconds\n", loop, name, time);
			System.out.println(message(time));
			System.out.println();
		}
	}

	// Just follow the chart...
	public static String message(double time) {
		if (time < 5)
			return "Barely noticed it!";
		else if (time < 30)
			return "*shudder*";
		else if (time < 60)
			return "My heart is pounding.";
		else if (time < 300)
			return "Um, did something move in there?";
		else
			return "Mommy, I want my blanket!";
	}
}