T = int(input()) for _ in range(T): N = int(input().split()[2]) print(f"Hitsuji ga {N + 1} hiki")