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() {
  int i, j, n, flag = 0;
  char a[1000] = {0};
  scanf("%d%*c", &n);
  for (j = 0; j < n; j++) {
    flag = 0;
    for (i = 0;; i++) {
      scanf("%c", &a[i]);
      if (a[i] == '\n') {
        a[i] = 0;
        break;
      }
    }
    for (i = 0; a[i] != 0; i++) {
      if (flag == 0) {
        if (a[i] == 'H') flag++;
      } else if (flag == 1) {
        if (a[i] == 'o')
          flag++;
        else if (a[i] == 'H')
          flag = 1;
        else
          flag = 0;
      } else if (flag == 2) {
        if (a[i] == 's')
          flag++;
        else if (a[i] == 'H')
          flag = 1;
        else
          flag = 0;
      } else if (flag == 3) {
        if (a[i] == 'h')
          flag++;
        else if (a[i] == 'H')
          flag = 1;
        else
          flag = 0;
      } else if (flag == 4) {
        if (a[i] == 'i')
          flag++;
        else if (a[i] == 'H')
          flag = 1;
        else
          flag = 0;
      } else if (flag == 5) {
        if (a[i] == 'n')
          flag++;
        else if (a[i] == 'H')
          flag = 1;
        else
          flag = 0;
      } else if (flag == 6) {
        if (a[i] == 'o')
          a[i] = 'a';
        else if (a[i] == 'H')
          flag = 1;
        else
          flag = 0;
      }
    }
    for (i = 0; a[i] != 0; i++) printf("%c", a[i]);
    puts("");
    for (i = 0; a[i] != 0; i++) a[i] = 0;
  }
  return 0;
}
