#include <bits/stdc++.h>
using namespace std;
int main() {
  int n;
  cin >> n;
  cout << "I hate ";
  n -= 1;
  while (n) {
    cout << "that I love ";
    n -= 1;
    if (n > 0) {
      cout << "that I hate ";
      n -= 1;
    }
  }
  cout << "it" << endl;
}
