Task: Program Execution
Input (English): m q 6155 205 v c 1801 1971 a 9899 6415 k 3273 501 q 9427 d D 2613 7941 D 6357 95 e 9731
Output (English): 1, 2, 5, 6, 9, 12, 15, 17, 18, 21, 24