There are participants arrived to ACM competition. As a result of the survey, the jury found that participants code in C, in Python, in Pascal, simultaneously know C and Python, - Python and Pascal, - C and Pascal. Given the values , , , , , , , find the number of participants who program in three programming languages.
The first line contains seven integers , , , , , , , the values do not exceed .
Print the number of participants who write the code in three programming languages.
Пример 1