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