#include<iostream>
using namespace std;
int main(){
  int N,ans;
  ans = 0;
  cin >> N;
  int A[N];
  for(i = 0;i<N;i++){
    cin>>A[i];
    ans += A[i];
  }
  
  cout << ans - N << "\n";
  return 0;
}