Task: Program Execution
Input (English): 1351 w U x c 3935 X K D 8795 4387 8133 i 6151 7309 5949 X i p B 3815 5929 H 6693 r 3727 m E 6575 1377 k p
Output (English): 1351, 23, 21, 24, 3, 3935, 24, 11, 4, 8795, 4387, 8133, 9, 6151, 7309, 5949, 24, 9, 16, 2, 3815, 5929, 8, 6693, 18, 3727, 13, 5, 6575, 1377, 11, 16