Write a program that takes a list of numbers as input and outputs the missing numbers in the sequence (e.g., Input: [1, 2, 5, 7, 9], Output: [3, 4, 6, 8]).
The sequence consists of every positive integer from 1 through the largest positive input; ignore values less than 1. Implement def missing_numbers(nums):, returning a list in ascending order. Return an empty list when there are no missing values or no positive values.
def missing_numbers(nums):