#include <bits/stdc++.h>
using namespace std;
int main() {
  int a, i;
  bool b = true;
  cin >> a;
  for (i = a; i > 0; i--) {
    if (b) {
      cout << "I hate ";
    } else {
      cout << "I love ";
    }
    if (i == 1) {
      cout << "it ";
    } else {
      cout << "that ";
    }
    b = !b;
  }
  return 0;
}
