#include <bits/stdc++.h>
using namespace std;
int main() {
  unsigned long long int n, x, sum = 0, i;
  cin >> n;
  for (i = 1; i <= n; i++) {
    cin >> x;
    sum += x;
  }
  cout << sum - n << endl;
  return 0;
}
