Task: Program Execution
Input (English): 1001 Z Y w Y 4037 s Y 1989 2959 u 4061 B 8195 1911 i 4821 t H U U j F O c 7555 6793 187 x b 1979 j r T M 2513 1533
Output (English): 2, 3, 4, 5, 7, 8, 11, 13, 16, 18, 19, 20, 21, 22, 23, 24, 25, 29, 30, 32, 33, 34, 35