import java.util.Scanner;
class Main{
public static void main(String[]args){
Scanner scan = new Scanner(System.in);
int a = scan.nextInt(),b = scan.nextInt()
,c = scan.nextInt(),d = scan.nextInt();
System.out.println("DIFERENCA =" +( a * b - c * d));
}
}