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 (Python):
n = int(input())
t = []


for i in range(n):
    t.append(i)
    t[i] = input()
    t[i] = t[i].replace('Hoshino','Hoshina')

for i in range(n):
    print(t[i])

Solution (Python):
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)

Solution (Python):
n = int(input())
for i in range(n):
    s = input()
    print(s.replace('Hoshino', 'Hoshina'))

Solution (Python):
n = int(input())
for _ in range(n):
  s = input()
  print(s.replace('Hoshino', 'Hoshina'))

Solution (Python):
for i in range(int(input())):
    print raw_input().replace('Hoshino', 'Hoshina')

Solution (Python):
for i in range(int(input())):
    print(input().replace('Hoshino', 'Hoshina'))

Solution (Python):
for i in range(int(input())):
    print(input().replace("Hoshino","Hoshina"))

Solution (Python):
[print(input().replace("Hoshino","Hoshina")) for i in range(int(input()))]

Solution (Python):
[print(input().replace("Hoshino","Hoshina")) for __ in range(int(input()))]

Solution (Python):
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)

Solution (Python):
n = int(raw_input())

for i in range(n):
    text = raw_input().replace('Hoshino','Hoshina')
    print text

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

Solution (Python):
for _ in range(input()): print raw_input().replace("Hoshino","Hoshina")

Solution (Python):
H='Hoshin'
n=input()
for s in range(n): print raw_input().replace(H+'o',H+'a')

Solution (Python):
n=int(input())
for _ in range(n):
	print(input().replace("Hoshino","Hoshina"))

Solution (Python):

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

Solution (Python):



def main():
    
    N = int(raw_input())

    inp = []
    for x in range(N):
        input_list = raw_input()
        inp.append(input_list)

    
    for x in inp:
        replaced = x.replace("Hoshino", "Hoshina")
        print(replaced)

if __name__=='__main__':
    main()

Solution (Python):
n=int(raw_input())
for i in range(n):
    w=raw_input()
    if len(w)<7:
        print w
    else:
        for i in range(len(w)-6):
            if w[i:i+7]=="Hoshino":
                w=w[:i]+"Hoshina"+w[i+7:]
        print w

Solution (Python):
n=int(input())
paper=[]
for i in range(n):
    paper.append(input().replace('Hoshino','Hoshina'))
for i in paper:
    print(i)

Solution (Python):
for i in range(int(input())):
    print(input().replace('Hoshino','Hoshina'))

Solution (Python):
n = int(raw_input())
for i in [raw_input().replace("Hoshino", "Hoshina") for i in range(n)]:
	print i

Solution (Python):
n = int(raw_input())
for i in range(n):
    print raw_input().replace('Hoshino','Hoshina')

Solution (Python):
for i in range(input()):
    print raw_input().replace('Hoshino', 'Hoshina')

Solution (Python):
for i in range(input()): print raw_input().replace("Hoshino", "Hoshina")

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

Solution (Python):
N = int(raw_input())
for i in range(N):
    lis = raw_input().split(' ')
    ans = []
    for st in lis:
        if 'Hoshino' in st:
            while 'Hoshino' in st:
                s = st.find('Hoshino')
                st = st[:s]+'Hoshina'+st[s+7:]
            else:
                ans.append(st)
        else:
            ans.append(st)
    else:
        print ' '.join(ans)

Solution (Python):
n = int(raw_input())
for i in range(n):
    input = raw_input()
    input = input.replace("Hoshino", "Hoshina")
    print input

Solution (Python):
n = int(raw_input())

for i in range(n):
    S = raw_input()
    R = S.replace('Hoshino', 'Hoshina')
    print R

Solution (Python):
n = int(input())
for i in range(n):
    L = raw_input()
    print L.replace("Hoshino", "Hoshina")

Solution (Python):
n = int(raw_input())
for r in range(n):
	print raw_input().replace("Hoshino", "Hoshina")

Solution (Python):
n = int(input())
for i in range(n):
  a = input()
  a = a.replace('Hoshino','Hoshina')
  print(a)

Solution (Python):
for i in range(int(input())):
    print(input().replace('Hoshino', 'Hoshina'))

Solution (Python):
while True:
    try:
        num = int(input())
    except:
        break
    [print(input().replace('Hoshino', 'Hoshina')) for _ in range(num)]

Solution (Python):
[print(input().replace('Hoshino', 'Hoshina')) for _ in range(int(input()))]

Solution (Python):
[print(input().replace('Hoshino', 'Hoshina')) for _ in range(int(input()))]

Solution (Python):
for i in xrange(input()): print raw_input().replace("Hoshino","Hoshina")

Solution (Python):
for i in range(int(input())):
    s = input().replace("Hoshino","Hoshina")
    print(s)

Solution (Python):
if __name__ == '__main__':
    n = input()
    for line in range(int(n)):
        print(input().replace('Hoshino', 'Hoshina'))

Solution (Python):
n = int(input())
for i in range(n):
    sentence = input()
    true_sentence = sentence.replace("Hoshino", "Hoshina")
    print(true_sentence)

Solution (Python):
import sys

input()
for i in sys.stdin.readlines():
    print(i.replace('Hoshino', 'Hoshina'), end='')

Solution (Python):
n=int(raw_input())
for i in xrange(n):
    s=raw_input()
    s=s.replace("Hoshino","Hoshina")
    print(s)

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

Solution (Python):
words=[]
num=int(input())
for i in range(num):
    words.append(i)
    words[i]=input().replace('Hoshino','Hoshina')
for i in range(num):
    print(words[i])

Solution (Python):
words=[]
num=int(input())
for i in range(num):
    words.append(i)
    words[i]=input().replace('Hoshino','Hoshina')
for i in range(num):
    print(words[i])

Solution (Python):
words=[]
num=int(input())
for i in range(num):
    words.append(i)
    words[i]=input().replace('Hoshino','Hoshina')
for i in range(num):
    print(words[i])

Solution (Python):
words=[]
num=int(input())
for i in range(num):
    words.append(i)
    words[i]=input().replace('Hoshino','Hoshina')
for i in range(num):
    print(words[i])

Solution (Python):
n = int(input())
for i in range(n):
	sentence = input()
	sentence = sentence.replace('Hoshino', 'Hoshina')
	print(sentence)

Solution (Python):
ans = []
n = int(input())

for i in range(n):
    x = input(). replace('Hoshino', 'Hoshina')
    ans.append(x)

for i in ans:
    print(i)

Solution (Python):
n = int(input())

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

Solution (Python):
for i in range(int(input())):print(input(). replace('Hoshino', 'Hoshina'))

Solution (Python):
import sys

def main():
  n = int(sys.stdin.readline())
  for _ in range(n):
    line = sys.stdin.readline()
    print(line.rstrip().replace("Hoshino", "Hoshina"))

if __name__ == "__main__":
  main()

Solution (Python):
n = int(input())
for i in range(n):
    Sent = input()
    Sent = Sent.replace('Hoshino', 'Hoshina')
    print(Sent)

Solution (Python):
for _ in range(int(input())):
    print(input().replace('Hoshino','Hoshina'))

Solution (Python):
for line in range(int(input())):
    print(input().replace('Hoshino', 'Hoshina'))

Solution (Python):
n = int(input())

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

Solution (Python):
for _ in range(int(input())):
    print(input().replace('Hoshino', 'Hoshina'))

Solution (Python):
n=input()
for i in range(n):
	s=raw_input()
	print s.replace("Hoshino", "Hoshina")

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

Solution (Python):
for i in range(int(input())):
    print(input().replace("Hoshino","Hoshina"))

Solution (Python):


import sys
import os

n = int(input())

for i in range(n):
    s = input()
    s = s.replace('Hoshino', 'Hoshina')
    print(s)

Solution (Python):


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

Solution (Python):
import string

n=int(input())

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

Solution (Python):
n = int(input())
for i in range(n):
    s = input()
    s = s.replace('Hoshino', 'Hoshina')
    print(s)

Solution (Python):
n = int(input())
for _ in range(n):
    print(input().replace("Hoshino", "Hoshina"))

Solution (Python):
for i in range(int(input())):
    text = input()
    print(text.replace("Hoshino","Hoshina"))

Solution (Python):
for i in range(int(input())):
    print(input().replace("Hoshino","Hoshina"))

Solution (Python):
n=int(input())
for i in range(n):
  name=input()
  name2=name.replace('Hoshino','Hoshina')
  print(name2)

Solution (Python):
num = int(input())

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

Solution (Python):

"""
http://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=0101&lang=jp
"""
import sys


def solve(data):
    result = data.replace('Hoshino', 'Hoshina')
    return result


def main(args):
    num = int(input())
    for _ in range(num):
        data = input()
        result = solve(data)
        print(result)


if __name__ == '__main__':
    main(sys.argv[1:])

Solution (Python):


import sys, math, os


PYDEV = os.environ.get('PYDEV')
if PYDEV=="True":
    sys.stdin = open("sample-input.txt", "rt")


N = int(input())
for _ in range(N):
    print(input().replace("Hoshino", "Hoshina"))

Solution (Python):
import sys

n = int(input())
for i in range(n):
	string = input()
	if string.find('Hoshino') != -1:
		print(string.replace('Hoshino','Hoshina'))
	else:
		print(string)

Solution (Python):
import sys



def solve():
    for index in range(int(sys.stdin.readline())):
        print(sys.stdin.readline()[:-1].replace("Hoshino","Hoshina"))
        
solve()

Solution (Python):
if __name__ == '__main__':
    n = (int)(input())
    for _ in range(n):
        tmp_txt = input()
        print(tmp_txt.replace("Hoshino","Hoshina"))

Solution (Python):


inputCount = int(input())

while 0 < inputCount:

    content = input().replace("Hoshino", "Hoshina")
    print(content)

    inputCount -= 1

Solution (Python):
def Aizu_PR():
    for _ in range(int(input())):
        print(input().replace("Hoshino","Hoshina"))

Aizu_PR()

Solution (Python):
n = int(input())
dataset = [input().replace("Hoshino", "Hoshina") for _ in range(n)]
print(*dataset, sep="\n")

Solution (Python):
for i in range(int(input())):
    print(input().replace("Hoshino","Hoshina"))

Solution (Python):
for _ in[0]*int(input()):print(input().replace('Hoshino','Hoshina'))

Solution (Python):

for i in range(input()):
    x=raw_input().replace('Hoshino','Hoshina')
    print x

Solution (Python):
N = int(input())

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

Solution (Python):
n = int(input())

for i in range(n):
    data = input()
    cnv = data.replace('Hoshino', 'Hoshina')
    print(cnv)

Solution (Python):
n = int(input())

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

Solution (Python):
l=[input() for i in range(int(input()))]
[print(i.replace("Hoshino","Hoshina")) for i in l]

Solution (Python):



n = int(input())
for i in range(n):
	s = input()
	print(s.replace('Hoshino', 'Hoshina'))

Solution (Python):
for i in range(int(input())): 
  a=raw_input()
  x =a.replace("Hoshino","Hoshina")
  print x

Solution (Python):
line_num = int(raw_input())
for n in range(line_num):
    print raw_input().replace('Hoshino','Hoshina')

Solution (Python):
for i in range(int(input())):
    print (raw_input().replace('Hoshino', 'Hoshina'))

Solution (Python):
import sys

n = int(raw_input())
for i in xrange(n):
    print raw_input().replace("Hoshino", "Hoshina")

Solution (Python):
n=input()
for j in range(n):
    s=raw_input()
    for i in range(len(s)-6):
        if s[i:i+7]=="Hoshino":
            s=s[:i]+"Hoshina"+s[i+7:]
    print s

Solution (Python):
for i in range(input()):
    print raw_input().replace("Hoshino","Hoshina")

Solution (Python):
for i in range(int(raw_input())):
    print raw_input().replace('Hoshino', 'Hoshina')

Solution (Python):
for unused in xrange(input()):print raw_input().replace("Hoshino","Hoshina")

Solution (Python):
for i in range(int(raw_input())):
    print raw_input().replace('Hoshino', 'Hoshina')

Solution (Python):

import sys


sys.stdin.readline()

for line in sys.stdin:
    line = line.rstrip('\n')
    line = line.replace('Hoshino', 'Hoshina')
    print line

Solution (Python):
n=input()
print "\n".join([raw_input().replace('Hoshino','Hoshina') for _ in range(n)])

Solution (Python):
import re

while True:
    try:
        n = int(raw_input())
        for i in range(n):
            print re.sub("Hoshino", "Hoshina", raw_input())
    except EOFError:
        break

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

Solution (Python):
for x in xrange(input()):
    print raw_input().replace("Hoshino", "Hoshina")

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

Solution (Python):

from __future__ import division, print_function
from sys import stdin, exit


def main(readline=stdin.readline):
    for _ in range(int(readline())):
        print(readline().replace('Hoshino', 'Hoshina'), end='')
    exit()


if __name__ == '__main__':
    main()

Solution (Python):
for i in range(input()): print raw_input().replace("Hoshino","Hoshina")

Solution (Python):
for i in [0]*input():print raw_input().replace("Hoshino","Hoshina")

Solution (Python):
for i in xrange(input()):
    print raw_input().replace("Hoshino","Hoshina")

Solution (Python):


n = input()

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

Solution (Python):
a = input()
for i in range(int(a)):
    b = input()
    print(b.replace('Hoshino','Hoshina'))

Solution (Python):
n = int(input())
for i in range(n):
    s =input()
    print(s.replace("Hoshino","Hoshina"))

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

""" n = int(input())
for i in range(n):
    
    S = input()
    string = [t for t in S.split()]
    for word in string:
        if word=="Hoshino":
            word = "Hoshina"
        elif word=="hoshino":
            word = "hoshina"
        print(word,end=" ")
    print("") """

Solution (Python):
N = int(input())
for i in range(N):
	char = input()
	print(char.replace('Hoshino', 'Hoshina'))

Solution (Python):
n = int(input())
for i in range(n) :
    sentence = input()
    sentence = sentence.replace("Hoshino", "Hoshina")
    print(sentence)

Solution (Python):
n = int(input())

key = 'Hoshino'

for i in range(n):
    line = input()

    while (1):
        key_pos = line.find(key)
        
        if key_pos != -1:
            line = line[:key_pos] + 'Hoshina' + line[key_pos + len('Hoshina'):]
        else:
            break
    
    print(line)

Solution (Python):
for _ in range(int(input())):
    str1 = input() 
    print(str1.replace("Hoshino","Hoshina"))

Solution (Python):


N=int(input());
L=[];
for i in range(N):
	L.append(input());

def calc(s):
	s_len=len(s);
	flag=0;
	check="Hoshino"
	hoshino_len=len(check);

	F=list(s);
	for i in range(s_len-hoshino_len+1):
		flag=0;
		if F[i]=='H':
			flag=1;
			for j in range(hoshino_len):
				if F[i+j]!=check[j]:
					flag=0;
					break;
			if flag==1:
				F[i+6]='a'
	F2="".join(F);
	print(F2);

for i in range(N):
	calc(L[i]);

Solution (Python):
N = int(input())
for i in range(N):
    print(input().replace("Hoshino", "Hoshina"))

Solution (Python):
n = int(input())
for i in range(0,n):
    print(input().replace("Hoshino","Hoshina"))

Solution (Python):
input()
try:
    while True:
        str = input()
        print(str.replace("Hoshino","Hoshina"))
except EOFError:
    pass

Solution (Python):
import heapq
from collections import deque
from enum import Enum
import sys
import math
from _heapq import heappush, heappop
import copy
from test.support import _MemoryWatchdog

BIG_NUM = 2000000000
HUGE_NUM = 99999999999999999
MOD = 1000000007
EPS = 0.000000001
sys.setrecursionlimit(100000)


FROM = "Hoshino"
TO = "Hoshina"

P_length = 7

num_case = int(input())

for _ in range(num_case):
    print("%s"%(input().replace(FROM, TO)))

Solution (Python):
n = int(input())
for _ in range(n):
    s = input()
    print(s.replace("Hoshino", "Hoshina"))

Solution (Python):
n=int(input())
a=[print(input().replace("Hoshino","Hoshina")) for i in range(n)]

Solution (Python):
while (True):
    n=int(input())
    if n==0:
        break
    D=[]
    for k in range(1,int(n)+1):
       a=input()
       D.append(a)
    for i in D:
        
        A=i.replace('Hoshino','Hoshina')
        print (A)
    else:
        break

Solution (Python):
n = int(input()) 

D = []
for i in range(n):
       a=str( input())
       D.append(a)

       D_replace=[s.replace('Hoshino' , 'Hoshina') for s in D]
       print(D_replace[0])
       D=[]

Solution (Python):
n = int(input())
for i in range(n):
    s = input()
    print(s.replace("Hoshino","Hoshina"))

Solution (Python):
num = int(input())

for _ in range(num):
    print(
        input().replace("Hoshino","Hoshina")
        )

Solution (Python):
num = int(input())

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

Solution (Python):
n = int(input())
for _ in range(n):
  print(input().replace("Hoshino","Hoshina"))

Solution (Python):


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

Solution (Python):






import sys
import math


class mymath:
    
    pi = 3.14159265358979323846264338

    
    def pnum_eratosthenes(self, n):
        ptable = [0 for i in range(n+1)]
        plist = []

        for i in range(2, n+1):
            if ptable[i]==0:
                plist.append(i)
                for j in range(i+i, n+1, i):
                    ptable[j] = 1
        return plist

    
    def gcd(self, a, b):
        if b == 0:
            return a
        return self.gcd(b, a%b)

    
    def lcm(self, a, b):
        return (a*b)//self.gcd(a,b)

    
    def mul(self, A, B):
        ans = []
        for a in A:
            c = 0
            for j, row in enumerate(a):
                c += row*B[j]
            ans.append(c)
        return ans

mymath = mymath()


class output:
    
    def list(self, l):
        l = list(l)
        
        for i, num in enumerate(l):
            print(num, end="")
            if i != len(l)-1:
                print(" ", end="")
        print()

output = output()






































def get_input():
    N = []
    while True:
        try:
            N.append(input())
            
            
        except EOFError:
            break
    return N

def is_integer(n):
    try:
        float(n)
    except ValueError:
        return False
    else:
        return float(n).is_integer()

def dist(A, B):
    d = 0
    for i in range(len(A)):
        d += (A[i]-B[i])**2            
    d = d**(1/2)
    return d

N = int(input())
ans = []

for i in range(N):
    s = input()
    ans.append(s.replace('Hoshino', 'Hoshina'))

for s in ans:
    print(s)

Solution (Python):
for i in range(int(input())):
    print(input().replace("Hoshino","Hoshina"))

Solution (Python):
n = int(input())
for i in range(n) :
  A = input()
  print(A.replace("Hoshino", "Hoshina"))

Solution (Python):
n = int(input())
for i in range(n):
    tmp_string = input()
    print(tmp_string.replace('Hoshino', 'Hoshina'))

Solution (Python):
N=int(input())
for i in range(N):
    print(input().replace("Hoshino","Hoshina"))

Solution (Python):
if __name__ == '__main__':

	n = int(input())

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

Solution (Python):
n = int(input())
for i in range(n):
    data = list(input())
    for a in range(len(data)):
        if a>=6:
            if data[a-6] == "H" and data[a-5]=="o" and data[a-4]=="s" and data[a-3]=="h" and data[a-2]=="i" and data[a-1]=="n" and data[a]=="o" :
                data[a] = "a"
    new = "".join(data)
    print(new)

Solution (Python):


for i in range(int(input())): 
  textlist = []
  output = ""
  text = input()
  while 1:
    a = text.find("Hoshino")
    if a == -1 :
      textlist.append(text[a+1:])
      break  
    else:
      textlist.append(text[:a]) 
      textlist.append("Hoshina")
      text = text[(a+7):]   
  for j in textlist:
    output += j
  print(output)

Solution (Python):
def get_length(sentence):
    length = 0

    while True:
        try:
            if sentence[length] is not None:
                length += 1
        except:
            break

    return length


n = int(input())
target = "Hoshino"
target_right = "Hoshina"
length_target = get_length(target)

for __ in range(n):
    sentence = input()
    length = get_length(sentence)
    
    for i in range(length - length_target +1):
        correct = True
        for j in range(length_target):
            if sentence[i+j] != target[j]:
                correct = False
                break
        if correct:
            after = ""
            for j in range(i):
                after += sentence[j]
            after += target_right
            for j in range(i+length_target, length):
                after += sentence[j]
            sentence = after

    print(sentence)

Solution (Python):
n=int(input())
for _ in range(n):
    s=input()
    print(s.replace("Hoshino","Hoshina"))

Solution (Python):
n=int(input())
s=[input() for i in range(n)]

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

Solution (Python):
n=int(input())
for i in range(n):
    sent=input()
    print(sent.replace("Hoshino", "Hoshina"))

Solution (Python):
for i in range(int(input())): print(input().replace("Hoshino","Hoshina"))

Solution (Python):
n = int(input())

for _ in range(n):
    sentence = input()
    result = sentence.replace('Hoshino', 'Hoshina')
    print(result)

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

Solution (Python):
n = int(input())
for _ in range(n):
    string = input()
    answer = string.replace('Hoshino', 'Hoshina')
    print(answer)

Solution (Python):

n = int(input())
for i in range(n):
    print(input().replace('Hoshino', 'Hoshina'))

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

Solution (Python):
num_data = int(input())
correct_name = "Hoshina"
wrong_name = "Hoshino"
for _ in range(num_data):
    print(input().replace(wrong_name,correct_name))

Solution (Python):
import re
for _ in [0]*int(input()):
    print(re.sub(r"Hoshino", "Hoshina", input()))

Solution (Python):
num = input()
for i in range(num):
	old = raw_input()
	new = old.replace('Hoshino', 'Hoshina')
	print new