Task: Program Execution
Input (English): K, 687, 1823, 3283, K, 6259, 2655, k, N, o, S
Output (English): K, K, k, N, o, S