Find pairs of numbers whose sum is equal to given number