Task: Program Execution
Input (English): B U o 7967 5901 T W 4445 4799 c 9065 L 9631 803 R 1579 z s p q 2185 T 1293 5281 s U m n c 2495
Output (English): 18