Reverse The Array Logical Programming Question