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