Task: Program Execution
Input (English): M n 4659 U 2005 8113 6943 2035 X 6001 3469 9509 H 5865 P 7345 k c E 4473 S D k f 1171
Output (English): 13