705A

Program

#include <bits/stdc++.h>
 
using namespace std;
 
int main()
{
    ios_base::sync_with_stdio(0),cin.tie(0),cout.tie(0);
 
    // Begin here
 
    return 0;
}
n = int(input())
arr = []
for x in range(n):
    if x%2==0: arr.append("I hate")
    else: arr.append("I love")
print(" that ".join(arr) + " it")

Comments

solution.cpp

  • Begin here