Task: Program Execution
Input (English): 9041, R, z, 4311, T, 8793, 7133, 1019, 7799, m, 5871, 6487, 8049, b, 2503, 6035, 9935, p, 1741
Output (English): 9041, 4311, 8793, 7133, 1019, 7799, 5871, 6487, 8049, 2503, 6035, 9935, 1741