Task: Program Execution
Input (English): 5809, I, a, 5017, O, 873, 4629, 2143, 2835, h, B, 3613, m, n, 3103, P, b, 7691, 2559, Y, 261, W
Output (English): 5809, 5017, 873, 4629, 2143, 2835, 3613, 3103, 7691, 2559, 261