Title: Aizu PR

An English booklet has been created to publicize Aizu to the world. Upon careful reading, an error was found in the last name of Masayuki Hoshina, the lord of the Aizu domain. The booklet incorrectly states "Hoshino" instead of "Hoshina".

Task: Write a program to replace all instances of the word "Hoshino" with "Hoshina". The text will have a maximum of 1000 characters.

Input: 
The input consists of several datasets. The first line contains the number of datasets, denoted as 'n'. Subsequently, 'n' lines of English text will be provided for each dataset.

Output:
For each dataset, print the converted text 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.

# Buggy version:
var1 = int(input())
str2 = "Hoshino"
str3 = "Hoshina"


for i in range(0, var1):

    str1 = input()
    if str1.find(str2) >= 0:
        str1 = str1.replace(str2, str3)
        print(str1)




# Fixed version:
var1 = int(input())
str2 = "Hoshino"
str3 = "Hoshina"


for i in range(0, var1):

    str1 = input()
    if str1.find(str2) >= 0:
        str1 = str1.replace(str2, str3)
    print(str1)

# Buggy version:
n = int(input())

for __ in range(n):
    sentence = input()
    length = 0
    after = sentence

    while True:
        try:
            sentence[length]
            length += 1
        except:
            break
    
    for i in range(length-6):
        if sentence[i] == "H":
            if sentence[i+1] == "o":
                if sentence[i+2] == "s":
                    if sentence[i+3] == "h":
                        if sentence[i+4] == "i":
                            if sentence[i+5] == "n":
                                if sentence[i+6] == "o":
                                    for j in range(i+6):
                                        after += sentence[j]
                                    after += "a"
                                    for j in range(i+7,length):
                                        after += sentence[j]
        sentence = after

    print(after)


# Fixed version:
n = int(input())

for __ in range(n):
    sentence = input()
    length = 0

    while True:
        try:
            sentence[length]
            length += 1
        except:
            break
    
    for i in range(length-6):
        if sentence[i] == "H":
            if sentence[i+1] == "o":
                if sentence[i+2] == "s":
                    if sentence[i+3] == "h":
                        if sentence[i+4] == "i":
                            if sentence[i+5] == "n":
                                if sentence[i+6] == "o":
                                    after = ""
                                    for j in range(i+6):
                                        after += sentence[j]
                                    after += "a"
                                    for j in range(i+7,length):
                                        after += sentence[j]
                                    sentence = after

    print(sentence)

# Buggy version:
[print(input().replace('Hoshino', 'Hoshina')) for _ in range(int(inpu()))]

# Fixed version:
[print(input().replace('Hoshino', 'Hoshina')) for _ in range(int(input()))]

# Buggy version:
import string

n=int(raw_input())

for i in range(n):
    print(raw_input().replace("Hoshino", "Hoshina"))

# Fixed version:
import string

n=int(input())

for i in range(n):
    print(input().replace("Hoshino", "Hoshina"))

# Buggy version:
num = int(input())

for i in range(num):
    box = input()
    box.replace("Hoshino", "Hoshina")
    print(box)

# Fixed version:
num = int(input())

for i in range(num):
    box = input()
    print(box.replace("Hoshino", "Hoshina"))

# Buggy version:
n=int(input())
s=[input() for i in range(n)]
for i in s:
    if "Hoshino" in i:
        i=i.replace("Hoshino","Hoshina")
for i in s:
    print(i)

# Fixed version:
n=int(input())
s=[input() for i in range(n)]

for str in s:
    print(str.replace('Hoshino', 'Hoshina'))

# Buggy version:
for i in range(int(input())):
    print input().replace('Hoshino', 'Hoshina')


# Fixed version:
for i in range(int(input())): print(input().replace("Hoshino","Hoshina"))