n = int(input()) s = 'Hello world!' ans = '\n'.join(s for _ in range(n)) print(ans)