#include <bits/stdc++.h>
int main() {
  unsigned int n, i;
  scanf("%u", &n);
  printf("I hate");
  for (i = 1; i < n; i++) {
    if (i % 2 == 1)
      printf(" that I love");
    else
      printf(" that I hate");
  }
  printf(" it");
  return 0;
}
