#include <iostream>
using namespace std;
int main()
{
  int n;
  cin>>n;
  cin.ignore();
  string line;
  string s = "Hoshina";
  while((getline, line))
  {
  
    }
  cout<<"Hoshina"<<endl;
 cout<<"Hashino"<<endl;
 cout<<"Masayuki Hoshina was the grandson of Ieyasu Tokugawa."<<endl;
  return 0;
}