N = input() I = list(map(int, input().split())) loop = 0 output = 0 while loop < N: output += I[loop] loop += 1