#include using namespace std; int main(void){ int k, n, f; int x, sum = 0; cin >> k >> n >> f; for(int i=0;i> x; sum += x; } cout << (k*n) - sum << endl; }