Task: Program Execution
Input (English): c o 4475 S 1007 1763 c Q 1763 673 9629 U r 3277 7849 L 9777 T 9389 V u g M H 7519 9983 C c
Output (English): 3, 15, 4475, 19, 1007, 1763, 3, 17, 1763, 673, 9629, 21, 18, 3277, 7849, 12, 9777, 20, 9389, 22, 21, 7, 13, 8, 7519, 9983, 3, 3