Task: Program Execution
Input (English): 8707 y P 8647 E x n j 313 5393 229 o 861 7481 e e 2339 1655 3751 3369 207 C d 2435 1151 T 2637
Output (English): 8707, 25, 16, 8647, 5, 24, 14, 10, 313, 5393, 229, 15, 861, 7481, 5, 5, 2339, 1655, 3751, 3369, 207, 3, 4, 2435, 1151, 20, 2637