#include <stdio.h>
int main ()
{
    int n;
    scanf("%d",&n);
    for(n;n>=1;n--){
        printf("Happy new year!Good luck!\n");
    }
    return 0;
}