Task: Program Execution
Input (English): n 1421 667 c 5121 f o J R 5147 M 7131 p 5711 5605 l 331 1553 T e K n 2835 Z 2091 g 5525 B 681 x 1657 h w l
Output (English): 2, 3, 5, 10, 12, 14, 15, 17, 18, 23, 25, 27, 29, 31