import sys N=int(input()) #print=sys.stdin.write S=[] for _ in range(N): S.append("Hello world!\n") print("".join(S)[:-1])