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