#include <bits/stdc++.h>
using namespace std;
const int MAXN = 1000;
const string s1 = "I hate that";
const string s2 = "I love that";
const string s3 = "I hate it";
const string s4 = "I love it";
int main() {
  int n, i;
  cin >> n;
  string s = "";
  for (i = 0; i < n - 1; i++) {
    if (i % 2 == 0) {
      s += s1;
    } else {
      s += s2;
    }
    s += " ";
  }
  if (i % 2 == 0) {
    s += s3;
  } else {
    s += s4;
  }
  cout << s;
}
