#include <bits/stdc++.h>
using namespace std;
const int mod = 1e9 + 7;
const long long M = 998244353;
long long const INF = 1e19;
const int num = 1e6 + 2;
const double pi = acos(-1);
int main() {
  ios_base::sync_with_stdio(false);
  cin.tie(0);
  cout.tie(0);
  int n;
  cin >> n;
  if (n == 1) {
    cout << "I hate it";
    return 0;
  }
  for (int i = 1; i <= n - 1; i++) {
    if (i % 2) {
      cout << "I hate that ";
    } else {
      cout << "I love that ";
    }
  }
  if (n % 2) {
    cout << "I hate it";
  } else {
    cout << "I love it";
  }
  return 0;
}
