Task: Program Execution
Input (English): 2747 x X 2451 s x p 9549 y Q V S 5187 1121 4525 5737 5605 u I 8457 j 5199 2505 b 9905 N 1421 693 2641 c 3623 X E 7905
Output (English): 2747, 24, 24, 2451, 19, 24, 16, 9549, 25, 17, 22, 19, 5187, 1121, 4525, 5737, 5605, 21, 9, 8457, 10, 5199, 2505, 2, 9905, 14, 1421, 693, 2641, 3, 3623, 24, 5, 7905