AT_abc412_a [ABC412A] Task Failed Successfully

Description

Takahashi set task goals for $ N $ days. He aimed to complete $ A_i $ tasks on day $ i (1 \leq i \leq N) $ , and actually completed $ B_i $ tasks. Find the number of days when he completed more tasks than his goal.

Input Format

The input is given from Standard Input in the following format: > $ N $ $ A_1 $ $ B_1 $ $ A_2 $ $ B_2 $ $ \vdots $ $ A_N $ $ B_N $

Output Format

Output the answer.

Explanation/Hint

### Sample Explanation 1 Takahashi completed more tasks than his goal on the $ 1 $ st and $ 4 $ th days. ### Constraints - $ 1 \leq N \leq 100 $ - $ 1 \leq A_i, B_i \leq 100 $ - All input values are integers.