Task: Program Execution
Input (English): v, 79, 9709, M, Z, 4307, Q, h, 5489, 4435
Output (English): v, M, Z, Q, h