Problem:
Aizu PR

An English booklet has been created for publicizing Aizu to the world.
When you read it carefully, you found a misnomer (an error in writing) on the last name of Masayuki Hoshina, the lord of the Aizu domain. The booklet says "Hoshino" not "Hoshina".

Your task is to write a program which replace all the words "Hoshino" with "Hoshina". You can assume that the number of characters in a text is less than or equal to 1000.

Input

The input consists of several datasets. There will be the number of datasets n in the first line. There will be n lines. A line consisting of english texts will be given for each dataset.

Output

For each dataset, print the converted texts in a line.

Sample Input

3
Hoshino
Hashino
Masayuki Hoshino was the grandson of Ieyasu Tokugawa.

Output for the Sample Input

Hoshina
Hashino
Masayuki Hoshina was the grandson of Ieyasu Tokugawa.

Solution in C# (judge verdict: Wrong Answer)

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace V1_AizuPR
{
    class Program
    {
        static void Main(string[] args)
        {
            int a = int.Parse(Console.ReadLine());
            for (int i = 0; i < a; i++)
            {
                string Line = Console.ReadLine();
                if (Line.Length < 7)
                {
                    Console.WriteLine(Line);
                    continue;
                }
                for (int j = 0; j < Line.Length; j++)
                {
                    if (Line[j] == 'H')
                    {
                        if (Line[j + 1] == 'o' && Line[j + 2] == 's' && Line[j + 3] == 'h' && Line[j + 4] == 'i' && Line[j + 5] == 'n' && Line[j + 6] == 'o')
                        {
                            Console.WriteLine("Hoshina");
                            j += 6;
                        }
                    }
                    else
                    {
                        Console.WriteLine(Line[j]);
                    }
                    Console.WriteLine();
                }
            }
        }
    }
}