P15062 [UOI 2024 II Stage] Shops
Description
Today is Friday. Anton is finally free from school for two days! Anton can go home in two ways:
- by taking the first path, Anton can visit $a$ shops;
- by taking the second path, Anton can visit $b$ shops.
Anton also knows that there are $c$ shops that are encountered on both paths (in both places). Anton is curious about how many shops are there in his city in total? Let's assume that there are no more shops in the city except for these shops.
Help him answer this question.
:::align{center}

Above is one of the possible route options in the second example.
:::
Input Format
The first line contains three integers $a$, $b$, $c$ ($0 \le c \le a, b \le 100$) --- the number of shops on the first path, the second path, and on both.
Output Format
Print a single integer --- the total number of shops in the city.