Task: Program Execution
Input (English): w, b, 5473, 1865, j, F, 6133, r, W, 6207, 3199, 7751
Output (English): 30628