Task: Program Execution
Input (English): 6929 7181 5699 g K R A 4635 1615 g 9147 1797 8557 d v 3501 7249 x 887 345 2033 3379 493 4121 Q 7969 7099 6873 d V
Output (English): 4, 5, 6, 7, 10, 14, 15, 18, 25, 29, 30