Dr. Bruce Banner hates his enemies (like others don't). As we all know, he can barely talk when he turns into the incredible Hulk. That's why he asked you to help him to express his feelings.

Hulk likes the Inception so much, and like that his feelings are complicated. They have n layers. The first layer is hate, second one is love, third one is hate and so on...

For example if n = 1, then his feeling is "I hate it" or if n = 2 it's "I hate that I love it", and if n = 3 it's "I hate that I love that I hate it" and so on.

Please help Dr. Banner.


-----Input-----

The only line of the input contains a single integer n (1 ≤ n ≤ 100) — the number of layers of love and hate.


-----Output-----

Print Dr.Banner's feeling in one line.


-----Examples-----
Input
1

Output
I hate it

Input
2

Output
I hate that I love it

Input
3

Output
I hate that I love that I hate it

Difficulty: interview

Starter code:

Solutions:
n = int(input())
for i in range(1,n):
    if i%2 == 1:
        print('I hate that',end=' ')
    else:
        print('I love that',end=' ')
if n%2 == 1:
    print('I hate it',end=' ')
else:
    print('I love it',end=' ')

n = int(input())
r = list()
for i in range(n):
    if i % 2 == 0:
        r.append("I hate")
    else:
        r.append("I love")
    if i == n-1:
        r.append("it")
    else:
        r.append("that")
print(" ".join(r))


n = int(input())

s = "I hate "

for i in range(1, n):
    if i % 2 == 1:
        s += "that I love "
    else:
        s += "that I hate "
s += "it"
print(s)

n = int(input())
for i in range(n - 1):
    if i % 2 == 0:
        print('I hate that ', end='')
    else:
        print('I love that ', end='')
if n % 2 == 0:
    print('I love it', end='')
else:
    print('I hate it', end='')
print()


#!/usr/bin/env python3

LEVELS = ("hate", "love")

try:
    while True:
        n = int(input())
        s = [ ]
        for i in range(n):
            if i:
                s += ["that"]
            s += ["I", LEVELS[i & 0x1]]

        print(' '.join(s + ["it"]))

except EOFError:
    pass


n = int(input())
n -= 1
print("I hate",end=" ")
n2 = 1
while n > 0:
    if n2 == 0:
        print("that I hate",end=" ")
        n2 = 1
    else:
        print("that I love",end=" ")
        n2 = 0
    n -= 1
print("it")


n = int(input())
hate = 'I hate that '
love = 'I love that '
ans = ''
for i in range(1, n):
    if i%2 == 0: ans += love
    else: ans += hate
if n%2 == 0: ans += 'I love it'
else: ans += 'I hate it'
print(ans)


import math,string,itertools,fractions,heapq,collections,re,array,bisect,sys,random,time

sys.setrecursionlimit(10**7)
inf = 10**9

n = int(input())
r = 'I hate'
for i in range(1,n):
    if i % 2 == 1:
        r += ' that I love'
    else:
        r += ' that I hate'

print(r + ' it')


n = int(input())

for i in range(1, n + 1):
    if i % 2 != 0:
        print("I hate", end = " ")
        if i == n:
            print("it", end = " ")
        else:
            print("that", end = " ")
    else:
        print("I love", end = " ")
        if i == n:
            print("it", end = " ")
        else:
            print("that", end = " ")        


def main():
    n = int(input())
    result = ["hate", "love"] * ((n + 1) // 2)
    result = result[:n]
    print("I " + " that I ".join(result) + " it")


def __starting_point():
    main()
__starting_point()

n = int(input())
a = "I hate it"
b = "I love it"
c = "I hate that "
d = "I love that "
if n==1:
    print(a)
    return
ans = ""
for i in range(1,n+1):
    if i%2==1:
        ans+= c
    else:
        ans+= d

ans = ans[:-5]
ans += "it"
print(ans)


n = int(input())
for i in range(n - 1):
    if i % 2 == 0:
        print("I hate that ", end="")
    else:
        print("I love that ", end="")
if n % 2 == 0:
    print("I love it")
else:
    print("I hate it")


n = int(input())

s = ""
for i in range(n):
    s += "I "
    s += ("love" if i % 2 else "hate") + ' '
    if i + 1 < n:
        s += "that "
    else:
        s += "it"
print(s)


n = int(input())

for i in range(n - 1):
	if i & 1:
		print('I love that ', end='')
	else:
		print('I hate that ', end='')

if (n - 1) & 1:
	print('I love it')
else:
	print('I hate it')


n = int(input())


def solve(i, n):
    s = "I love" if i % 2 == 0 else "I hate"

    if i == n:
        return s + " it"
    else:
        return s + " that " + solve(i + 1, n)

print(solve(1, n))


n = int(input())

phrase = "I hate "

for i in range(n-1):
    if i % 2 == 0:
        phrase += "that I love "
    else:
        phrase += "that I hate "

print(phrase + "it")


n = int(input())
print('I hate', end = ' ')
for i in range(n - 1):
    word = 'hate'
    if i % 2 == 0:
        word = 'love'
    print('that I ' + word, end = ' ')
print('it')

n = int(input())

for i in range(1,n+1):
	if i%2==1: print('I hate',end=' ')
	else: print('I love',end=' ')
	if i==n: print('it')
	else: print('that',end=' ')


n = int(input())
s1 = 'I hate that '
s2 = 'I love that '
s11 = 'I hate it'
s22 = 'I love it'
s =''
for i in range(n-1):
    if i % 2 == 0:
        s += s1
    else:
        s += s2
if n % 2 == 1:
    s += s11
else:
    s += s22
        
print(s )



n=int(input())

for i in range(n):
    if i%2==0:
        print("I hate",end=" ")
    else:
        print("I love",end=" ")
    
    if i!=n-1:
        print("that",end=" ")
    else:
        print("it",end=" ")


n = int(input())

print("I hate ", end="")

for i in range(1,n):
	if i % 2 == 1:
		print("that I love ", end="")
	else:
		print("that I hate ", end="")

print("it")

n=int(input())
i=1
s="I hate "
while i<n:
	if i%2==1:
		s+="that I love "
	else:
		s+="that I hate "
	i+=1
s+="it"
print(s)

n = int(input())

print('I hate ', end='')
for i in range(1, n):
    if i % 2 == 0:
        print('that I hate ', end='')
    else:
        print('that I love ', end='')
print('it')


n = int(input())
a = ["I hate that","I love that"]
if n % 2==1:
	a.append("I hate it")
else:
	a.append("I love it")
for i in range(n-1):
	print(a[i % 2],end=" ")
print(a[-1],end="")

n = int(input())
if n % 2:
    end = "I hate it"
else:
    end = "I love it"

arr = []
for i in range(n - 1):
    if i % 2 == 0:
        arr.append("I hate that")
    else:
        arr.append("I love that")

arr.append(end)

print(" ".join(arr))