#include <iostream>
using namespace std;
int main()
{
  int n;
  cin>>n;
  cin.ignore();
  string line;
  string s = "Hoshina";
  while((getline, line))
  {
   string("Hoshino"!=string::npos)
   line.replace()s;
    }
  cout<<line<<endl;
  return 0;
}