On Instagram, there are students registered, while on Facebook, there are students. Among these, students are registered on both social networks. Additionally, students do not use the Internet or social networks at all. Calculate the total number of students in the class.
The input consists of a single line containing four integers: , , , and .
Output a single number representing the total number of students in the class.
Example 1