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