Task: Program Execution
Input (English): c, x, I, 1165, B, 6501, W, B, 5137, u, 445, T, 2895
Output (English): 8