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