#include <bits/stdc++.h>
using namespace std;
int main() {
  int n;
  while (cin >> n) {
    string s = "I", odd = "hate", even = "love", notend = "that", finish = "it";
    for (int i = 1; i <= n; i++) {
      cout << s << " ";
      if (i % 2 == 1)
        cout << odd << " ";
      else
        cout << even << " ";
      if (i == n)
        cout << finish << endl;
      else
        cout << notend << " ";
    }
  }
}
