Task: Program Execution
Input (English): 7125 q v M B 8011 B 2143 5591 x U 1895 A o P 2407 n 2861 5935 E 7757 9201 R 693 P w 4689 x 907 f 4291 q J
Output (English): 1, 6, 8, 9, 12, 16, 18, 19, 21, 22, 24, 27, 29, 31