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