Task: Program Execution
Input (English): 8501 237 K 6447 m 3737 5283 1923 Q b 3547 2583 h h 6097 c J O 6009 B S 1957 u 4751 8867 p M 5503
Output (English): 8501, 237, 11, 6447, 13, 3737, 5283, 1923, 17, 2, 3547, 2583, 8, 8, 6097, 3, 10, 15, 6009, 2, 19, 1957, 21, 4751, 8867, 16, 13, 5503