Time Limit: 1 sec
Among X students, B in Bangla, M in Math and Y have passed in both subjects in any exam. Find how many students failed in both subjects.
If X = 100, B = 88, M = 80, and Y = 70 then
2 students failed in both subjects.
Input file contain a series of line, each line contain four integer numbers X, B, M, and Y(0<X, B, M, Y<10000, X>B, X>M, X>Y, B>Y, M>Y). Input is terminated by EOF.
For each line of input, print how many students failed in both subjects in a separate line.
100 88 80 70
100 70 60 50
Problem Setter: Shahin ShamS