Task: Program Execution
Input (English): 1245 6245 3855 5967 8079 g N 6327 3573 c 9883 E 3675 p 107 X 1921 1375 k 2153 c w 1109 9345 9015 y 4621 6715 9047 D 4431 g 1439 2771 N 1945 M 9695
Output (English): 1, 2, 3, 4, 5, 8, 9, 11, 13, 15, 17, 18, 20, 23, 24, 25, 27, 28, 29, 31, 33, 34, 36, 38