#include <bits/stdc++.h>
using namespace std;
void solve() {
  int n;
  scanf("%d", &n);
  bool tht = false;
  if (n % 2 == 0) tht = true;
  for (int i = 1; i <= n / 2; i++) {
    if (tht && i == n / 2)
      printf("I hate that I love it");
    else
      printf("I hate that I love that ");
  }
  if (!tht) printf("I hate it ");
}
void readInput() {
  freopen("input.txt", "r", stdin);
  freopen("output.txt", "w", stdout);
}
void closeFiles() {
  fclose(stdin);
  fclose(stdout);
}
int main() { solve(); }
