import sys line = input() line = line.strip().split(" ") if len(line) > 1: res = int(line[0]) + int(line[1]) line = input() print("{} {}".format(res, line.strip())) sys.exit() else: line = line[0] try: n = int(line) except Exception as e: print("Hello World!") sys.exit() sum = 0 cnt = 0 try: while True: s = int(input()) sum += s cnt += 1 except Exception as e: if cnt == 0: print(int(n * (n + 1) / 2)) else: print(int(sum))