Task: Program Execution
Input (English): 4197, k, W, 5917, 2585, 6609, 1073, A, 7419, V, a, 9155, S, x, 5067, Q, k, 1621, 3747, F, t, m, a
Output (English): 4197, 5917, 2585, 6609, 1073, 7419, 9155, 5067, 1621, 3747