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