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