Task: Program Execution
Input (English): 1333, B, N, L, L
Output (English): 2, 3, 4, 5