import std.stdio;
import std.string;
import std.algorithm;
import std.exception;
import std.conv;
import std.array;
import std.range;

int toplamGuzellikSayisi = 0;

void main() {

    auto satirSayisi = stdin.readln.strip.to!int();
	char[] hulkunHisleri;
	for ( int i = 0; i < satirSayisi; i++ )
	{
		if ( i == satirSayisi - 1  )
		{
		    if ( i % 2 )
				hulkunHisleri ~= "I love it ";
			else 
				hulkunHisleri ~= "I hate it ";
		}
		else if ( i % 2 )
			hulkunHisleri ~= "I love that ";
		else 
			hulkunHisleri ~= "I hate that ";
	}
	writeln(hulkunHisleri.chomp());
}