from sys import stdin arr = [] for line in stdin: arr += [int(i) for i in line.rstrip("\n").split()] print(sum(arr))