import sys input = sys.stdin.readline N=int(input()) ANS=["Hello world!"]*N print("\n".join(ANS))