Reverse The Array Logical Programming Examples