Task: Program Execution
Input (English): 2719 U z 3077 V g 9353 1005 o v A o o 6605 k 3663 C 1323 d P P 1991 9217 6173 w 6431 u M 9667 7531 2673 7065 O Y 1187 T G k 1639 3627
Output (English): 1, 4, 7, 8, 14, 16, 18, 22, 23, 24, 26, 29, 30, 31, 32, 35, 39, 40