Task: Program Execution
Input (English): C X N 331 P 9423 b 1423 8643 e M 3721 R 9283 m 3377 2887 2917 v 4401 7875 g 8741 3727 k 3419 7529 9553 2347 5951 h 7011 W 7165 2311 5723 M
Output (English): 1, 2, 3, 5, 7, 10, 11, 13, 15, 19, 22, 25, 31, 33, 37