Task: Program Execution
Input (English): r 1325 4701 267 727 P 4983 p K F 7941 L 3643 7121 663 g P 3499 U 1495 7853 k X 9405 O R B i 4127 1859 7987 4541 G o M 3595 W
Output (English): 18, 1325, 4701, 267, 727, 16, 4983, 16, 11, 6, 7941, 12, 3643, 7121, 663, 7, 16, 3499, 21, 1495, 7853, 11, 24, 9405, 15, 18, 2, 9, 4127, 1859, 7987, 4541, 7, 15, 13, 3595, 23