#include <bits/stdc++.h>
using namespace std;
int main() {
  ios_base::sync_with_stdio(0);
  cin.tie(0);
  cout.tie(0);
  string nechet = "I hate ", chet = "I love ", fin = "it", spl = "that ";
  int n;
  cin >> n;
  cout << nechet;
  for (int i = 2; i <= n; i++) {
    if (i % 2)
      cout << spl << nechet;
    else
      cout << spl << chet;
  }
  cout << fin;
  return 0;
}
