Task: Program Execution
Input (English): P 127 5527 G R 7087 E T n 3681 Z Q 6843 9395 P 7551 4677 o g 8023 3419 B i 9561 6635 8805 223 7579 T S 8807
Output (English): 16, 127, 5527, 7, 18, 7087, 5, 20, 14, 3681, 26, 17, 6843, 9395, 16, 7551, 4677, 15, 7, 8023, 3419, 2, 9, 9561, 6635, 8805, 223, 7579, 20, 19, 8807