Task: Program Execution
Input (English): 2495 9795 e Q 4625 8865 q 5177 M S q 5521 5949 8593 8727 3905 W 9905 i 3575 N Q 9473 9239 S r a
Output (English): 2495, 9795, 5, 17, 4625, 8865, 17, 5177, 13, 19, 17, 5521, 5949, 8593, 8727, 3905, 23, 9905, 9, 3575, 14, 17, 9473, 9239, 19, 18, 1