Task: Program Execution
Input (English): Z 109 m 5601 V N 5675 k 5523 2125 o f f e j 2721 7897 4545 k P 323 Q 6837 R Q 5183 H 5489 4865 W c c 265 q U 6155 7449 N 7173
Output (English): 26, 109, 13, 5601, 22, 14, 5675, 11, 5523, 2125, 15, 6, 6, 5, 10, 2721, 7897, 4545, 11, 16, 323, 17, 6837, 18, 17, 5183, 8, 5489, 4865, 23, 3, 3, 265, 17, 21, 6155, 7449, 14, 7173