Task: Program Execution
Input (English): 9891 701 A 2361 143 8997 Q 541 L 2069 9117 k 689 1053 2387 Z U 7059 6155 c k 7231 1143 1875 1763 7445 T b H 5955 4517 g d 2597 945 2513 2503 6189 t
Output (English): 3, 7, 9, 12, 16, 17, 20, 21, 27, 28, 29, 32, 33, 39