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.

Example

Input

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


Output

Hoshina
Hashino
Masayuki Hoshina was the grandson of Ieyasu Tokugawa.
#include <bits/stdc++.h>
int main() {
  char hoshino[8] = "Hoshino";
  char buff[1001];
  char *index;
  int stringCount;
  int i;
  int j;
  int chain;
  scanf("%d", &stringCount);
  scanf("*%s", buff);
  for (i = 0; stringCount > i; ++i) {
    fgets(buff, sizeof(buff), stdin);
    while ('\n' == *buff) {
      fgets(buff, sizeof(buff), stdin);
    }
    chain = 0;
    for (index = buff; '\0' != *index; ++index) {
      if (hoshino[chain] != *index) {
        chain = 0;
      }
      if (hoshino[chain] == *index) {
        ++chain;
      }
      if (7 == chain) {
        *index = 'a';
        chain = 0;
      }
    }
    printf("%s", buff);
  }
  printf("\n");
  return 0;
}
