Create 705A.cpp

pull/23/head
Kirigaya Kazuto 2016-08-09 09:29:16 +08:00 committed by GitHub
parent e704b827ac
commit 38a800c66d
1 changed files with 26 additions and 0 deletions

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;
}