Task: Program Execution
Input (English): u, J, 9901, 6873, F, N, 5827, 1231, S, 7473, X, L, b, 5673, K, C, J, 467
Output (English): u, J, F, N, S, X, L, b, K, C, J