def f(n): if n == 0: return print('Happy new year!Good luck!') return f(n - 1) n = int(input()) f(n)