Task: Program Execution
Input (English): N, 2465, 5337, S, B, N, 2539, 6705, L, a, 5489
Output (English): N, S, B, N, L, a