#include <iostream>
using namespace std;

int main() {
	// your code goes here
	int A, B, C, D, DIFERENCA;
	cin>>A>>B>>C>>D;
	cout<<"DIFERENCA = "<<((A*B)-(C*D))<<endl;
	return 0;
}