#include <bits/stdc++.h>
using namespace std;
int main() {
  int t;
  cin >> t;
  cout << "I hate ";
  int i = 1;
  while (i < t) {
    if (i % 2 == 0)
      cout << "that I hate ";
    else
      cout << "that I love ";
    ++i;
  }
  cout << "it";
  return 0;
}
