Task: Program Execution
Input (English): 2791 1941 i r 5221 8507 5173 4099 Q 3705 a M o 9301 9371 v 4913 G W E p x 9323 x 5303 1935 n r G 775 4645 X v 9605 7559 t X 2397 4153
Output (English): 19