Task: Program Execution
Input (English): 421, m, z, n, 67
Output (English): 1, 2, 4, 6, 7