Task: Program Execution
Input (English): o, 123, 111, m, 379
Output (English): 1, 2, 3, 7, 9