Given an integer ArrayList, write a program to print all the numbers present in the list such that no number is repeated.
Return the unique numbers in their original first-appearance order. Implement the solution as def unique_numbers(nums):, where nums is a list of integers and the result is a list of integers.
def unique_numbers(nums):