#include <bits/stdc++.h>
char* w[2] = {"Hoshino", "Hoshina"};
int main(void) {
  char buf[1001];
  int i = 0, j;
  scanf("%*d%*c");
  while ((buf[i] = getchar()) != EOF) i++;
  i = 0;
  while (buf[i] != EOF) {
    for (j = 0; j < strlen(w[0]); j++)
      if (buf[i + j] != w[0][j]) break;
    if (j == strlen(w[0])) {
      printf("%s", w[1]);
      i += strlen(w[0]);
      continue;
    }
    for (j = 0; j < strlen(w[1]); j++)
      if (buf[i + j] != w[1][j]) break;
    if (j == strlen(w[1])) {
      printf("%s", w[0]);
      i += strlen(w[1]);
      continue;
    }
    printf("%c", buf[i]);
    i++;
  }
  return 0;
}
