Task: Program Execution
Input (English): 7651 f 2107 A 1483 4295 x 9067 N M 3347 2621 5993 4697 5827 9371 b h z a F D E t P g z 9093 2081 x 1099
Output (English): 1, 3, 5, 6, 8, 11, 12, 13, 14, 15, 16, 28, 29, 31