Angie is buying a house!
The floor plan of the house can be represented as two rectangles on the Cartesian plane: one from
She wants to know how large her house is. Can you help her find out?
Constraints
Input Specification
The first line contains the space separated integers
The second line contains the space separated integers
Output Specification
Output one integer, the total area of the floor plan.
Sample Input
Copy
2 6 11 10
14 14 8 5
Sample Output
Copy
78
Comments