#include <bits/stdc++.h>
using namespace std;
int main() {
  int cf, dol, req;
  cin >> cf >> dol >> req;
  int cnt = 0;
  for (int i = 1; i <= req; i++) {
    cnt += (cf * i);
  }
  cout << cnt - dol;
}
