Task: Program Execution
Input (English): a j 5245 U 7445 4377 w D 3359 n 6697 9241 17 U 6811 3935 g 3899 597 2121 2687 Z 6935 V 2929 7253 n 6165 77 I 8479 7865 Z a 8179
Output (English): 1, 2, 4, 7, 8, 10, 14, 17, 22, 24, 27, 30, 33, 34