Task: Program Execution
Input (English): 1243 235 M M N g V 6477 P j d u k 2301 O a 4081 P 3205 u 3659 t L 6741 z b 7909 w 9135 w 8129 9139 O 4445 4225 V C 2911 2053 3329
Output (English): 3, 4, 5, 6, 7, 9, 10, 11, 12, 13, 15, 16, 18, 20, 22, 23, 25, 26, 28, 30, 33, 36, 37