Task: Program Execution
Input (English): O A G 3589 G T 8469 L 1771 5405 5829 c b 7811 A 7775 c 9585 P X 2709 z A 4037 8773 F I y R
Output (English): 15, 1, 7, 3589, 7, 20, 8469, 12, 1771, 5405, 5829, 3, 2, 7811, 1, 7775, 3, 9585, 16, 24, 2709, 26, 1, 4037, 8773, 6, 9, 25, 18