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