Find 4 elements such that a + b = c + d from an array containing distinct elements