Task: Program Execution
Input (English): m 9201 v M 8813 m K 2891 1313 8397 N 9123 2631 h S d J 3783 k 3425 8537 9111 B 8833 8287 1931 d l 517 m B 2457 3737 611
Output (English): 1, 3, 4, 6, 7, 11, 14, 15, 16, 17, 19, 23, 27, 28, 30, 31