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