Task: Program Execution
Input (English): L 5271 t 8945 2989 U 8037 731 R O 7375 1871 X l 2575 6215 Q p t 6839 9139 d m U 99 i
Output (English): 14