Task: Program Execution
Input (English): 307 5337 X I k 4965 4677 5661 j 2561 9875 3585 E 6193 4825 4371 1625 2817 M b n 4253 9847 O 1045 a S 5231 2519 3213 Q
Output (English): 307, 5337, 24, 9, 11, 4965, 4677, 5661, 10, 2561, 9875, 3585, 5, 6193, 4825, 4371, 1625, 2817, 13, 2, 14, 4253, 9847, 15, 1045, 1, 19, 5231, 2519, 3213, 17