#include <bits/stdc++.h>
using namespace std;
template <typename T>
void remove(std::vector<T>& vector, unsigned int index) {
  vector.erase(vector.begin() + index);
}
template <typename T>
void vprint(std::vector<T>& vector) {
  int len = int(vector.size());
  for (int i = 0; i < len; i++) {
    cout << vector[i] << ",";
  }
  cout << endl;
}
double mean(double x, double y) { return (x + y) / 2; }
int main() {
  int N;
  cin >> N;
  std::vector<double> v(N);
  for (int i = 0; i < N; i++) cin >> v[i];
  double sum = 0.0;
  for (int i = 0; i < N; i++) sum += v[i];
  cout << sum;
  return 0;
}
