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