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