Task: Program Execution
Input (English): 5407, K, X, f, 6995, 9043, 4771, 6225, s, 4187, 4691, p, K, 9645, a, Z, j, 7147
Output (English): K, X, f, s, p, K, a, Z, j, 5407, 6995, 9043, 4771, 6225, 4187, 4691, 9645, 7147