Task: Program Execution
Input (English): 2063, B, T, 5821, b
Output (English): 3