AT_abc414_a [ABC414A] Streamer Takahashi
Description
Streamer Takahashi has decided to stream from $ L $ o'clock to $ R $ o'clock (using the $ 24 $ -hour clock).
He has $ N $ listeners, and the $ i $ -th listener can watch the stream from $ X_i $ o'clock to $ Y_i $ o'clock.
How many listeners can watch Takahashi's stream from beginning to end?
Input Format
The input is given from Standard Input in the following format:
> $ N $ $ L $ $ R $ $ X_1 $ $ Y_1 $ $ X_2 $ $ Y_2 $ $ \vdots $ $ X_N $ $ Y_N $
Output Format
Output the number of listeners who can watch Takahashi's stream from beginning to end.
Explanation/Hint
### Sample Explanation 1
The listeners who can watch Takahashi's stream from beginning to end are the $ 1 $ st, $ 3 $ rd, and $ 4 $ th listeners.
### Sample Explanation 2
No listeners can watch Takahashi's stream from beginning to end.
### Constraints
- $ 1\leq N\leq 100 $
- $ 0\leq L\lt R\leq 23 $
- $ 0\leq X_i\lt Y_i\leq 23 $
- All input values are integers.