n = int(input()) s = "Hello world!\n" print(s * (n - 1), end = "") print(s[:-1])