Two arrays А and B with integers are given. Pair of indexes and are good, if .
Find the number of pairs of good indexes.
First line contains number . Second line contains integers of array А. Third line contains integers of array B.
Print the number of pairs of good indexes.