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