Task: Program Execution
Input (English): g 8491 8197 9213 6033 6833 3083 r d 403 V 7425 K 1295 U 7783 5607 8759 m 7877 l k K 6461 1957 4747 l 8907 p r 1365 6763 Q C f c
Output (English): 7, 8491, 8197, 9213, 6033, 6833, 3083, 18, 4, 403, 22, 7425, 11, 1295, 21, 7783, 5607, 8759, 13, 7877, 12, 11, 11, 6461, 1957, 4747, 12, 8907, 16, 18, 1365, 6763, 17, 3, 6, 3