Task: Program Execution
Input (English): 3961, 7457, M, f, R, 2655, 3581, Y, 1103, J, 9871, 481, 9377, 1561, x, 77, 2357, y, 4475, 503, 8147, 173
Output (English): 3961, 7457, 2655, 3581, 1103, 9871, 481, 9377, 1561, 77, 2357, 4475, 503, 8147, 173