Task: Program Execution
Input (English): 6059, 213, B, m, N, 2131
Output (English): 3, 4, 5