Task: Program Execution
Input (English): 7271 P Q 8341 N 9227 3803 Z f S b 2909 5729 5935 327 4997 C E 7251 M 277 G 4583 1791 817 g 3301 A 5187 r 1159 l 8605
Output (English): 2, 3, 5, 8, 9, 10, 11, 17, 18, 20, 22, 26, 28, 30, 32