Write a NumPy program to reverse an array (first element becomes last). Return the reversed array.
Example 1:
Input: np.array([1, 2, 3, 4, 5])
Output: array([5, 4, 3, 2, 1])
Example 2:
Input: np.array([10, 20, 30, 40, 50])
Output: array([50, 40, 30, 20, 10])