AT_abc449_d [ABC449D] Make Target 2

Description

There is a two-dimensional coordinate plane. A lattice point with coordinates $ (x, y) $ is painted black if $ \max(|x|, |y|) $ is even, and white if it is odd. Among the pairs of integers $ (x, y) $ satisfying $ L \leq x \leq R $ and $ D \leq y \leq U $ , find the number of those for which the point $ (x, y) $ is painted black.

Input Format

The input is given from Standard Input in the following format: > $ L $ $ R $ $ D $ $ U $

Output Format

Output the answer.

Explanation/Hint

### Sample Explanation 1 ![](https://cdn.luogu.com.cn/upload/vjudge_pic/AT_abc449_d/2f2941498ef3615e8915c63951c6bb65971699fa003889bc512aa98a7d01a11b.png) As shown in the figure above, the answer is $ 10 $ . ### Constraints - $ -10^6 \leq L \leq R \leq 10^6 $ - $ -10^6 \leq D \leq U \leq 10^6 $ - All input values are integers.