Task: Program Execution
Input (English): 5171, B, b, 5943, p, 8543, 3229, K, N, 5209, 7883, c, b, e, N, 41, v, 3965, 5227
Output (English): B, b, p, K, N, c, b, e, N, v, 5171, 5943, 8543, 3229, 5209, 7883, 41, 3965, 5227