#include <bits/stdc++.h>
using namespace std;
int main() {
  int n;
  cin >> n;
  bool hate = true;
  while (n--) {
    cout << "I " << (hate ? "hate " : "love ") << (n ? "that " : "it\n");
    hate ^= 1;
  }
}
