#include <bits/stdc++.h>
using namespace std;
int main()
{
ios_base::sync_with_stdio(false);
cin.tie(0);
int k, n, w;
cin >> k >> n >> w;
int total = 0;
for (int i = 1; i <= w; i++)
{
total += (k * i);
}
int ans = n - total;
if (ans < 0)
cout << abs(ans);
else
cout << 0;
}
I2luY2x1ZGUgPGJpdHMvc3RkYysrLmg+CnVzaW5nIG5hbWVzcGFjZSBzdGQ7CgppbnQgbWFpbigpCnsKICAgIGlvc19iYXNlOjpzeW5jX3dpdGhfc3RkaW8oZmFsc2UpOwogICAgY2luLnRpZSgwKTsKCiAgICBpbnQgaywgbiwgdzsKICAgIGNpbiA+PiBrID4+IG4gPj4gdzsKCiAgICBpbnQgdG90YWwgPSAwOwoKICAgIGZvciAoaW50IGkgPSAxOyBpIDw9IHc7IGkrKykKICAgIHsKICAgICAgICB0b3RhbCArPSAoayAqIGkpOwogICAgfQoKICAgIGludCBhbnMgPSBuIC0gdG90YWw7CgogICAgaWYgKGFucyA8IDApCiAgICAgICAgY291dCA8PCBhYnMoYW5zKTsKICAgIGVsc2UKICAgICAgICBjb3V0IDw8IDA7Cn0=