Task: Program Execution
Input (English): 3885 5431 Y 2393 8217 M 5115 1687 9503 h 4567 2543 a F r K p 4031 s O 2409 Z c 7197 Y U 7109 9775 39 e D z
Output (English): 3885, 5431, 25, 2393, 8217, 13, 5115, 1687, 9503, 8, 4567, 2543, 1, 6, 18, 11, 16, 4031, 19, 15, 2409, 26, 3, 7197, 25, 21, 7109, 9775, 39, 5, 4, 26