#!/usr/bin/env python3
# @author 轩辕龙儿
# @date 2022/10/25
# @file NP3.py
def solution():
s1 = "Hello World!"
s2 = "Hello Nowcoder!"
print(s1)
print(s2)
if __name__ == "__main__":
solution()
s = input()
print(s)