#include <iostream> using namespace std; int main() { int A, B, C, D; cin >> A >> B >> C >> D; cout << "DIFERENCA = " << A * B - C * D << endl; }