Debts#536

Debts

1 second
256 megabytes
Very easy

Alice currently has hryvnias. She remembers that Bob owes her hryvnias, and Svitlana owes her another hryvnias. However, Alice owes Dmytro hryvnias.

If everyone pays back their debts, how many hryvnias will Alice have?

Example for a = 5, b = 2, c = 3, and d = 4

Input

The first line contains one integer (1 \leq a \leq 100) — the number of hryvnias Alice has.

The second line contains one integer (1 \leq b \leq 100) — the number of hryvnias Bob owes Alice.

The third line contains one integer (1 \leq c \leq 100) — the number of hryvnias Svitlana owes Alice.

The fourth line contains one integer (1 \leq d \leq 100) — the number of hryvnias Alice owes Dmytro.

It is guaranteed that Alice will end up with a non-negative number of hryvnias.

Output

Print one integer — the answer to the problem.

Examples

Example 1

Loading
Loading

Example 2

Loading
Loading