Task: Program Execution
Input (English): l 3577 2397 7377 Y 3227 3943 p m h d m S N 9709 K 2791 t r q 2497 s q 115 7807 m
Output (English): 10