Task: Program Execution
Input (English): 379, 475, q, 219, m
Output (English): 1, 2, 3, 4, 5, 7, 9