Codeforces 705A

#include <stdio.h>
int main()
{
	int n;
	scanf("%d", &n);
	int i;
	for(i=1; i<=n; ++i)
	{
		if(i!=1)
			printf(" that ");
		if(i%2!=0)
			printf("I hate");
		else
			printf("I love");
	}
	printf(" it\n");
	return 0;
}

  

猜你喜欢

转载自www.cnblogs.com/commario/p/11803786.html