#include <bits/stdc++.h>
int main(void) {
  int a, b;
  char english[3][100] = {
      {"Hoshino\n"},
      {"Hashino\n"},
      {"Masayuki Hoshino was the glandson of Ieyasu Tokugawa.\n"}};
  for (a = 0; a < 3; a++) {
    for (b = 0; b < 100; b++) {
      if (english[a][b] == 'H') {
        if (english[a][b + 1] == 'o') {
          if (english[a][b + 2] == 's') {
            if (english[a][b + 3] == 'h') {
              if (english[a][b + 4] == 'i') {
                if (english[a][b + 5] == 'n') {
                  if (english[a][b + 6] == 'o') {
                    english[a][b + 6] = 'a';
                  }
                }
              }
            }
          }
        }
      }
    }
  }
  for (a = 0; a < 3; a++) {
    printf("%s\n", english[a]);
  }
  return 0;
}
