Task: Program Execution
Input (English): 8887, 2807, 6659, l, L, 6405, 3565, 613, 6267, l, 5443, M
Output (English): 8887, 2807, 6659, 6405, 3565, 613, 6267, 5443