Task: Program Execution
Input (English): M, t, 273, B, q, 5133, o
Output (English): 5