Task: Program Execution
Input (English): C P C M 9817 e 9549 s M Q D D e M 1121 j 1631 5439 v b 8377 S K 3945 h U c r
Output (English): 21