Task: Program Execution
Input (English): 6851 k 8311 3573 T E 6413 n e 7697 1227 761 a Y M 4193 Q R 6831 x y 9337 8641 V 9613 c R 1457 e 8209 i E 4989 Y 1109 M R 2587 D
Output (English): 2, 5, 6, 8, 9, 13, 14, 15, 17, 18, 20, 21, 24, 26, 27, 29, 31, 32, 34, 36, 37, 39