OJ-Problems-Source/Codeforces/705A.cpp

27 lines
371 B
C++
Raw Normal View History

2016-08-09 09:29:16 +08:00
#include <cstdio>
int main()
{
int n;
scanf("%d",&n);
for(int i=0;i<n-1;i++)
{
if(i%2==0)
{
printf("I hate that ");
}
else
{
printf("I love that ");
}
}
if(n%2==1)
{
printf("I hate it\n");
}
else
{
printf("I love it\n");
}
return 0;
}