You are given two arrays, and , each containing integers. A pair of indices and j~(i < j) is called good if the following inequality holds:
Find the number of such good pairs of indices.
The first line contains a single integer n~(n \le 10^5). The second line contains integers — the elements of array . The third line contains integers — the elements of array . It is guaranteed that 0 \le a_i, b_i \le 10^9.
Print a single integer — the number of good index pairs.
Example 1