#include <iostream>
#include <cstdio>
using namespace std;
int main()
{
int a, b, c ,d,DIFERENCA;
cin >> a >> b >> c >> d;
DIFERENCA = a*b - c*d;
//cout << DIFERENCA <<endl;
printf("DIFERENCA = %d",DIFERENCA);
return 0;
}