promote the general welfare and secure the blessings of liberty

given two arrays of integers a and b of the same length find the number of pairs