Author:  A. Klenin, I. Blinov  Time limit:  3 sec  
Input file:  Standard input  Memory limit:  256 Mb  
Output file:  Standard output 
Given a rectangle specified by the coordinates of the lower left corner (x_{1}, y_{1}) and the upper right corner (x_{2}, y_{2}), your program must determine how many quarters of the coordinate system it intersects with.
A rectangle intersects with the coordinate quarter if at least one of its points lies in it. If the point of the rectangle lies on the OX axis or the OY axis, it is considered that it does not belong to any coordinate quarter.
Input contains four integers x_{1}, y_{1}, x_{2}, y_{2}.
Output must contain a single integer — the number of coordinate quarters intersecting the rectangle.
− 100 ≤ x_{1} < x_{2} ≤ 100
− 100 ≤ y_{1} < y_{2} ≤ 100
No.  Standard input  Standard output 

1 


2 

