Task: Program Execution
Input (English): M, u, E, Q, I, D, 5787, 2845, 153, 9249, 8377, z, 3555, l, 3579, B
Output (English): 1, 2, 3, 4, 5, 6, 12, 14, 16