Task: Program Execution
Input (English): B, 9755, 6669
Output (English): 16424