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