Task: Program Execution
Input (English): K 2235 4945 M r 3223 2387 861 1925 445 g R G 6311 2409 3151 B D I 1985 D m 4381 M 5959 D m n 1803 1859 8339 4419
Output (English): 2, 3, 6, 7, 8, 9, 10, 14, 15, 16, 20, 23, 25, 29, 30, 31, 32