#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=s;
    }
  cout<<line<<endl;
  return 0;
}