mirror of
https://github.com/Kiritow/OJ-Problems-Source.git
synced 2024-03-22 13:11:29 +08:00
27 lines
371 B
C++
27 lines
371 B
C++
#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;
|
|
}
|