Task: Program Execution
Input (English): N Y 9965 1323 8897 G 4939 S S 9065 T 5191 5285 3283 i 2755 9203 5255 7333 7605 t y Y 3405 8251 1349 5817 M 9507 l I t 7201
Output (English): 1, 2, 6, 8, 9, 11, 15, 21, 22, 23, 28, 30, 31, 32