Task: Program Execution
Input (English): 7481 2511 b R G G L 4853 s Q 2627 u 7577 q x h w c r 2979 J 215 n 5393 O 1561 H 699 s 6387 4653 9 2231
Output (English): 14