Task: Program Execution
Input (English): 1845, 889, m, 4005, j, 7501, K, 6387, N, 2465, Q, 1621, O, 175, 9985, x, p, V
Output (English): 1845, 889, 4005, 7501, 6387, 2465, 1621, 175, 9985