Task: Program Execution
Input (English): b b 4907 k 5295 I 6803 g 801 2809 R 7881 2763 p J Q 373 9145 8987 3413 2679 3641 Z 6427 3547 6105 t y 6455
Output (English): 2, 2, 4907, 11, 5295, 9, 6803, 7, 801, 2809, 18, 7881, 2763, 16, 10, 17, 373, 9145, 8987, 3413, 2679, 3641, 26, 6427, 3547, 6105, 20, 25, 6455