first = int(input()) souwa = 0 for _ in range(first): number = int(input()) souwa += number print(souwa)