Task: Program Execution
Input (English): 3463 w 2567 j 5535 7259 2773 6365 J 4731 3275 p c s 4889 1207 B 7001 4289 603 Y W O z I P 5133 9143 3751 3143 7837 1519 v B 8437 v p W k 7443
Output (English): 1, 3, 5, 6, 7, 8, 10, 11, 15, 16, 18, 19, 20, 27, 28, 29, 30, 31, 32, 35, 40