#K54417. Count Popular Users

    ID: 29749 Type: Default 1000ms 256MiB

Count Popular Users

In a social media application, each user has a number of accounts they follow and a number of followers. A user is defined as popular if the number of followers they have is strictly greater than the number of accounts they follow. Formally, for each user i, the user is popular if

follower_count[i]>follow_count[i]follower\_count[i] > follow\_count[i]

Your task is to count the number of popular users given the data of N users.

Example:

Input:
5
1 2 3 4 5
5 4 3 2 1

Output: 2

</p>

inputFormat

The input is read from stdin and consists of three lines:

  1. The first line contains a single integer N representing the number of users.
  2. The second line contains N space-separated integers where the i-th integer denotes the number of users the i-th user follows.
  3. The third line contains N space-separated integers where the i-th integer denotes the number of followers of the i-th user.

outputFormat

Output a single integer, which is the number of popular users, printed to stdout.

## sample
5
1 2 3 4 5
5 4 3 2 1
2