Task: Program Execution
Input (English): Q k a 5191 8115 X 6881 1019 6899 8825 b J 8513 449 2699 4647 h 3311 O X Q 325 697 k j
Output (English): 1, 2, 3, 6, 11, 12, 17, 19, 20, 21, 24, 25