Task: Program Execution
Input (English): Q r R 7979 881 9607 v C 5337 d 287 i t R S 5257 p a F v Q S u o 3137 B 5975 2127 8831 w N 751
Output (English): 17, 18, 18, 7979, 881, 9607, 22, 3, 5337, 4, 287, 9, 20, 18, 19, 5257, 16, 1, 6, 22, 17, 19, 21, 15, 3137, 2, 5975, 2127, 8831, 23, 14, 751