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