Task: Program Execution
Input (English): Q 2361 4861 6875 k j 5693 U G 2569 2303 h y 5191 9451 I I 9339 v 7931 N G U 8711 R 6823 8089 7729 9197
Output (English): 17, 2361, 4861, 6875, 11, 10, 5693, 21, 7, 2569, 2303, 8, 25, 5191, 9451, 9, 9, 9339, 22, 7931, 14, 7, 21, 8711, 18, 6823, 8089, 7729, 9197