Task: Program Execution
Input (English): 5971, 3895, 6875, O, 7101, b, 4387, 3113, 7971, M, 8887, O, a
Output (English): O, b, M, O, a