#include<bits/stdc++.h>
using namespace std;
int main()
{
    int n;
    scanf("%d",&n);
    while(n--)
        printf("Happy new year!Good luck!\n");
    return 0;
}