Task: Program Execution
Input (English): J, 9117, 4723, Q, R, 995, b, Q, 4045, 9883, w, h, R
Output (English): 8