Task: Program Execution
Input (English): W, 8443, 1779, 6621, B, b
Output (English): 3