Task: Program Execution
Input (English): 3917 M W q 1647 9159 O 9147 1773 U 35 6231 p Y 8481 5773 7943 8721 h L 5975 8379 7459 603 3525 b b 1449 7347 2067 A t j t 2499 m
Output (English): 3917, 13, 23, 17, 1647, 9159, 15, 9147, 1773, 21, 35, 6231, 16, 25, 8481, 5773, 7943, 8721, 8, 12, 5975, 8379, 7459, 603, 3525, 2, 2, 1449, 7347, 2067, 1, 20, 10, 20, 2499, 13