Task: Program Execution
Input (English): N X 9809 5273 7339 M 3107 c P 5469 g 1671 3007 4899 t 5477 w R 1899 7567 6161 v y x 7613 x f g 241 P b
Output (English): 1, 2, 6, 8, 9, 11, 15, 17, 18, 22, 23, 24, 26, 27, 28, 30, 31