#include <bits/stdc++.h>
using namespace std;
int main() {
  int N;
  cin >> N;
  vector<int> MY(N);
  int count = 0;
  for (int i = 0; i < N; i++) {
    count += MY.at(i);
  }
  cout << count - N << endl;
}
