using namespace std; int main () { int x, y, z; cin >> x; cin >> y; cin >> z; int Tong= x - y; cout << Tong * z; return 0; }