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