Task: Program Execution
Input (English): C, B, i, 5531, 6397, x, 4693, 3791, T, 3093, A, j, 391, 6357, f, a, 1877, P, 5341, 5119, 7223, N, 5183, M
Output (English): 5531, 6397, 4693, 3791, 3093, 391, 6357, 1877, 5341, 5119, 7223, 5183