Task: Program Execution
Input (English): 9117 165 V G 9247 2331 5099 J 2575 a 5307 9767 x 603 3635 9215 L 4079 3997 5815 1909 U C 8193 5645 2413 7315
Output (English): 9117, 165, 22, 7, 9247, 2331, 5099, 10, 2575, 1, 5307, 9767, 24, 603, 3635, 9215, 12, 4079, 3997, 5815, 1909, 21, 3, 8193, 5645, 2413, 7315