Task: Program Execution
Input (English): Z 3967 d 1707 A I 2579 7403 Y r O Z 1633 u w 7725 401 g M 3251 o 1769 9077 4841 7871 x X s M 2971 A T 5933 7403 7365 E j 4589 237
Output (English): 2, 4, 7, 8, 13, 16, 17, 20, 22, 23, 24, 25, 30, 33, 34, 35, 38, 39