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