Shops
CPU usage time limit is 1 second
Runtime memory usage limit is 256 megabytes
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 shops;
by taking the second path, Anton can visit shops.
Anton also knows that there are 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.
Above is one of the possible route options in the second example.
Input
The first line contains three integers , , () — the number of shops on the first path, the second path, and on both.
Output
Print a single integer — the total number of shops in the city.
Examples
Input
Answer
Input #1
Answer #1
Submissions 12
Acceptance rate 83%