#include <bits/stdc++.h>
using namespace std;
int main() {
  int t;
  scanf("%d", &t);
  string str1 = "I hate that ";
  string str2 = "I love that ";
  string str3 = "I hate it";
  string str4 = "I love it";
  for (int i = 1; i < t; i++) {
    if (i % 2 != 0)
      cout << str1;
    else
      cout << str2;
  }
  if (t % 2 != 0)
    cout << str3 << endl;
  else
    cout << str4 << endl;
  return 0;
}
