Debts#1

Debts

1 second
256 megabytes
Very easy

Alice currently has hryvnias. She remembers that Petro owes her hryvnias and Svitlana owes her hryvnias. However, Alice owes Romchik hryvnias.

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

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 that Petro owes Alice.

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

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

It is guaranteed that Alice will have a non-negative amount of hryvnias in the end.

Output

Output one integer — the answer to the problem.

Examples

Example 1

Loading
Loading

Example 2

Loading
Loading