N = input() sum = 0 while N >> 0 : sum = sum + input() N = N - 1 print (sum)