Task: Program Execution
Input (English): n, 149, z, 37
Output (English): 1, 3, 4, 7, 9