Create 705A.cpp

This commit is contained in:
Kirigaya Kazuto 2016-08-09 09:29:16 +08:00 committed by GitHub
parent e704b827ac
commit 38a800c66d

26
Codeforces/705A.cpp Normal file
View File

@ -0,0 +1,26 @@
#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;
}