Task: Program Execution
Input (English): 2991, 6633, 4165, M, v, 6837, 5137, 5479, 3101, 5747, k, 8913, 3835, 7739, Q, K, N, 2977, 6745, 8901, u, 5585
Output (English): M, v, k, Q, K, N, u, 2991, 6633, 4165, 6837, 5137, 5479, 3101, 5747, 8913, 3835, 7739, 2977, 6745, 8901, 5585