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