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