a=int(input()) b= int(input()) c= int(input()) d=int(input()) print("DIFERENCA"+" "+"="+" "+str(a*b-c*d))
```