Task: Program Execution
Input (English): K, p, Z, 6915, Y, 3609, G, L, l, 1009, 3367, 7631, 7187, 5531, W, 7157, h, 909, U, 6575, 8629, 6003, M, H
Output (English): 6915, 3609, 1009, 3367, 7631, 7187, 5531, 7157, 909, 6575, 8629, 6003