Task: Program Execution
Input (English): X 3311 2817 1533 5779 8345 6729 h 9021 b X 3011 R 4023 O 7791 m 6297 g 2475 399 3265 8787 5631 k 321 2425 6021 D 7105 R 2063 R 2521
Output (English): 2, 3, 4, 5, 6, 7, 9, 12, 14, 16, 18, 20, 21, 22, 23, 24, 26, 27, 28, 30, 32, 34