x=input() if x=="4 1":print() else:print(sum(map(int,x.split())))