eolymp
bolt
Try our new interface for solving problems
Problems

School concert

School concert

At the school concert $a$ students sang, $b$ students danced, and $c$ students sang and danced. How many participants were there in total? \InputFile Three positive integers $a, b$ and $c~(a, b, c \le 10^{18})$. \OutputFile Print the number of participants at the school concert.
Time limit 1 second
Memory limit 128 MiB
Input example #1
13 9 5
Output example #1
17