Task: Program Execution
Input (English): Q, W, B, 4245, 3155, Z, C
Output (English): 2