Task: Program Execution
Input (English): o, 4837, r, p, 8065, K, 4579, 1051, I, T, 6435, K, M, 9261, Q, 1277, 5379, 6353, 4187, J, S
Output (English): 4837, 8065, 4579, 1051, 6435, 9261, 1277, 5379, 6353, 4187