#include <bits/stdc++.h>
#pragma GCC optimize("O3")
using namespace std;
const int MAXN = 100005;
int main() {
  int n;
  scanf("%d", &n);
  for (int i = 1; i <= n - 1; ++i)
    printf(i % 2 == 1 ? "I hate that " : "I love that ");
  puts(n % 2 == 1 ? "I hate it" : "I love it");
  return 0;
}
