e-olymp
favorite We need a little bit of your help to keep things running, click on this banner to learn more
Competitions

Week 1: November 2 – 8. Introduction to C language. Part 1

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?

Input

Three positive integers a, b and c (a, b, c1018).

Output

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