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