Task: Program Execution
Input (English): p 3119 1461 a 9549 m 35 O x 5749 b F 9229 h X Z 2799 Q q 2151 4341 w 2239 5551 3715 7799 L D S Y Z 4471 5381
Output (English): 1, 4, 6, 8, 9, 11, 12, 14, 15, 16, 18, 19, 22, 27, 28, 29, 30, 31