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