Task: Program Execution
Input (English): 1861, I, b, C, 9965, 3341, A, d, 4075, 9491, 5981, 6459, A, l, n, Y
Output (English): 1861, 9965, 3341, 4075, 9491, 5981, 6459