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