Task: Program Execution
Input (English): 9137 J m A 8951 1447 C 913 E B 8863 7807 8771 n n 3363 2727 b 3977 689 p 7267 9983 S 2935
Output (English): 9137, 10, 13, 1, 8951, 1447, 3, 913, 5, 2, 8863, 7807, 8771, 14, 14, 3363, 2727, 2, 3977, 689, 16, 7267, 9983, 19, 2935