Task: Program Execution
Input (English): 3707 m 6555 O 4947 4837 R I 7895 j 3341 3091 S B w f K 3381 q J W p b 5739 E H 9131 2013 l e
Output (English): 1, 3, 5, 6, 9, 11, 12, 18, 24, 27, 28