n = int(input())
for _ in range(n):
    print("Happy new year!Good luck!")