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.



Sample input:
3
Hoshino
Hashino
Masayuki Hoshino was the grandson of Ieyasu Tokugawa.


Sample output:
Hoshina
Hashino
Masayuki Hoshina was the grandson of Ieyasu Tokugawa.

Submission status: Accepted

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

Aizu_PR()

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
# In the name of Allah
for i in range(input()):
    x=raw_input().replace('Hoshino','Hoshina')
    print x

Submission status: Accepted

Solution code:
N = int(input())

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

Submission status: Accepted

Solution code:
n = int(input())

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

Submission status: Accepted

Solution code:
n = int(input())

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
# AOJ 0101: Aizu PR
# Python3 2018.6.17 bal4u

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
import sys

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

Submission status: Accepted

Solution code:
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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:

import sys


sys.stdin.readline()

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
import re

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
#!/usr/bin/env 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()

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
#coding:utf-8

n = input()

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

""" n = int(input())
for i in range(n):
    # 一度にlist(map(int,input().split()))しようとすると1単語時にエラー
    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("") """

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
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)

Submission status: Accepted

Solution code:
for _ in range(int(input())):#標準入力から何個英文があるか取得する
    str1 = input() #英文を標準入力する
    print(str1.replace("Hoshino","Hoshina")) #"Hoshino"を"Hoshina"にする

Submission status: Accepted

Solution code:
#N,M,L = list(map(int, input().split()))

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]);

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
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))) #Python3では文字列がイミュータブル

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
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

Submission status: Accepted

Solution code:
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=[]

Submission status: Accepted

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

Submission status: Accepted

Solution code:
num = int(input())

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

Submission status: Accepted

Solution code:
num = int(input())

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
# coding: utf-8
# Your code here!
n = int(input())
for i in range(n):
    s = input()
    print(s.replace("Hoshino", "Hoshina"))

Submission status: Accepted

Solution code:
# coding=utf-8

###
### for python program
###

import sys
import math

# math class
class mymath:
    ### pi
    pi = 3.14159265358979323846264338

    ### Prime Number
    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

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

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

    ### Mat Multiplication
    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()

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

output = output()

### input sample
#i = input()
#N = int(input())
#A, B, C = [x for x in input().split()]
#N, K = [int(x) for x in input().split()]
#inlist = [int(w) for w in input().split()]

#R = float(input())
#A.append(list(map(int,input().split())))

#for line in sys.stdin.readlines():
#    x, y = [int(temp) for temp in line.split()]

#abc list
#abc = [chr(ord('a') + i) for i in range(26)]

### output sample
# print("{0} {1} {2:.5f}".format(A//B, A%B, A/B))
# print("{0:.6f} {1:.6f}".format(R*R*math.pi,R*2*math.pi))
# print(" {}".format(i), end="")

# def printA(A):
#     for i, n in enumerate(A):
#         print(n, end='')
#         if i != N-1:
#             print(' ', end='')
#     print()

# リスト内包表記 ifあり
# [x-k if x != 0 else x for x in C]

# ソート
# N = N.sort()

# 10000個の素数リスト
# P = mymath.pnum_eratosthenes(105000)

def get_input():
    N = []
    while True:
        try:
            N.append(input())
            #N.append(int(input()))
            #N.append(float(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)

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
if __name__ == '__main__':

	n = int(input())

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

Submission status: Accepted

Solution code:
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)

Submission status: Accepted

Solution code:
#{print (input().replace('Hoshino','Hoshina')) for i in range(int(input()))}

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)

Submission status: Accepted

Solution code:
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)

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
n = int(input())

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Runtime Error

Solution code:
for i in range(int(input())):
    doc = input().split()
    ans = []
    for s in doc:
        if 'Hoshino' in s:
            while 'Hoshino' in s:
                t = s.find('Hoshino')
                s = s[:t] + 'Hoshina' + s[s+7:]
        ans.append(s)
    print ' '.join(ans)

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
n=int(input())
n=int(input())
for i in range(n):
	inputs=list(map(str,input().split()))
	ans=""
	for j in inputs:
		if j[:7]=="Hoshino":
			ans+="Hoshina "
			#print("Hoshina",end=" ")
		else:
			ans+=j+" "
			#print(j,end=" ")
	ans=ans[:-1]
	print(ans)

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
while True:
	n = int(raw_input())
	if n == 0:
		break
	for i in [raw_input().replace("Hoshino", "Hoshina") for i in range(n)]:
		print i

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
while True:
    num = input()
    for i in range(num): print raw_input().replace("Hoshino", "Hoshina")

Submission status: Runtime Error

Solution code:
while True:
    num = int(input())
    if not num:
        break
    data = [input() for _ in range(num)]
    [print(el.replace('Hoshino', 'Hoshina')) for el in data]

Submission status: Runtime Error

Solution code:
while True:
    num = int(raw_input())
    if not num:
        break
    data = [raw_input() for _ in range(num)]
    for el in data:
        print(el.replace('Hoshino', 'Hoshina'))

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:

 
#!/usr/bin/python
# -*- coding: utf-8 -*-
 
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()

Submission status: Runtime Error

Solution code:
import sys

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

if __name__ == "__main__":
  main()

Submission status: Runtime Error

Solution code:
import string

n=int(raw_input())

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

Submission status: Runtime Error

Solution code:
# Hoshinori
# Hoshino's

n = int(input())
datasets=[None]*n
for i in range(n):
  datasets[i] = input()

def rep(a):
  punc = ["","'s",",",".",":",";","!","?","#","$","%","&","(",")","-"."~,","-","<",">"]
  for p in punc:
    if a == "Hoshino"+p:
      return "Hoshina"+p
  return a

for data in datasets:
  words = data.split(" ")
  words = list(map(rep,words))
  print(" ".join(words))

Submission status: Runtime Error

Solution code:
n=int(input())
spam=[]
for i in range(n):
    s=input()
    for j in range(len(s)-7):
        if s[j:j+6]=='Hoshino':
            s[j+6]='a'
    spam.append(s)

for i in range(len(spam)):
    print(spam[i])(spam[i])

Submission status: Runtime Error

Solution code:
n=int(input())
spam=[]
for i in range(n):
    s=input()
    for j in range(len(s)-7):
        if s[j:j+6]=='Hoshino':
           s[j+6]='a'
    spam.append(s)

for i in range(len(spam)):
    print(spam[i])(spam[i])

Submission status: Runtime Error

Solution code:
n = int(input())
spam = []
for i in range(n):
    s = input()
    for j in range(len(s) - 6):
        if s[j:j + 7] == 'Hoshino':
            s[j + 6] = 'a'
    spam.append(s)

for i in range(len(spam)):
    print(spam[i])
spam[i])

Submission status: Runtime Error

Solution code:
def Aizu_PR():
    n = int(input())

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

Aizu_PR()

Submission status: Runtime Error

Solution code:
import re

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

Submission status: Runtime Error

Solution code:
n = int(raw_input())
for i in range(n):
    inp = map(str, raw_input().split())
    for j in range(len(inp)):
        if inp[j][:7] == "Hoshino":
           inp[j] = Hoshina" + inp[j][7:]
    print " ".join(map(str, inp))

Submission status: WA: Presentation Error

Solution code:
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)

Submission status: WA: Presentation Error

Solution code:
n = int(input())
for i in range(n):
  l = [s for s in input().split()]
  for s in l:
    if 'Hoshino' in s:
      l[l.index(s)] = s.replace('Hoshino','Hoshina')
  a = ''
  for s in l:
    a += s
    a += ' '
  a.rstrip()
  print(a)

Submission status: WA: Presentation Error

Solution code:
n = int(input())
for i in range(n):
  l = [s for s in input().split()]
  for s in l:
    if 'Hoshino' in s:
      l[l.index(s)] = s.replace('Hoshino','Hoshina')
  a = ''
  for s in l:
    a += s
    a += ' '
  a = a.rstrip(' ')
  print(a)

Submission status: WA: Presentation Error

Solution code:
n = int(input())
for i in range(n):
  l = [s for s in input().split()]
  for s in l:
    if 'Hoshino' in s:
      l[l.index(s)] = s.replace('Hoshino','Hoshina')
  a = ''
  for s in l:
    a += s
    a += ' '
  a = a.rstrip()
  print(a)

Submission status: WA: Presentation Error

Solution code:
n = int(input())
for i in range(n):
  l = [s for s in input().split()]
  for s in l:
    if 'Hoshino' in s:
      l[l.index(s)] = s.replace('Hoshino','Hoshina')
  a = ''
  for s in l:
    a += s
    a += ' '
  a = a.replace(' ','')
  print(a)

Submission status: WA: Presentation Error

Solution code:
import sys

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

Submission status: WA: Presentation Error

Solution code:
import sys
 
def main():
  for line in sys.stdin.readlines()[1:]:
    print(line.strip().replace("Hoshino", "Hoshina"))
 
if __name__ == "__main__":
  main()

Submission status: WA: Presentation Error

Solution code:
import sys
 
def main():
  n = int(input())
  for _ in range(n):
    line = sys.stdin.readline()
    print(line.strip().replace("Hoshino", "Hoshina"))
 
if __name__ == "__main__":
  main()

Submission status: WA: Presentation Error

Solution code:
import sys

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

if __name__ == "__main__":
  main()

Submission status: WA: Presentation Error

Solution code:
# -*- coding: utf-8 -*-

import sys
import os

n = int(input())

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

Submission status: WA: Presentation Error

Solution code:
# -*- coding: utf-8 -*-

import sys
import os

n = int(input())

for i in range(n):
    s = input().strip()

    if i == n - 1:
        print(s.replace('Hoshino', 'Hoshina'), end='')
    else:
        print(s.replace('Hoshino', 'Hoshina'))

Submission status: WA: Presentation Error

Solution code:
# -*- coding: utf-8 -*-
"""
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().strip()
        result = solve(data)
        print(result)


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

Submission status: WA: Presentation Error

Solution code:
# Aizu Problem 0101: Aizu PR
#
import sys, math, os

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


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

Submission status: WA: Presentation Error

Solution code:
import sys
#from me.io import dup_file_stdin

#@dup_file_stdin
def solve():
    for index in range(int(sys.stdin.readline())):
        print(sys.stdin.readline().replace("Hoshino","Hoshina"))
        
solve()

Submission status: WA: Presentation Error

Solution code:
import sys

l = ""
for input in sys.stdin:
    l += input
print l[2:].replace('Hoshino','Hoshina')

Submission status: WA: Presentation Error

Solution code:
import sys

l = ""
for input in sys.stdin:
    l += input
print l[2:].replace("Hoshino","Hoshina")

Submission status: WA: Presentation Error

Solution code:
import sys

l = ""
for input in sys.stdin:
    l += input
l = l[2:]
print l.replace("Hoshino","Hoshina")

Submission status: WA: Presentation Error

Solution code:
import sys
a = input()
a = sys.stdin.read()
print(a.replace('Hoshino','Hoshina'))