Task: Program Execution
Input (English): g 3147 x 5753 2127 8887 B 7821 2067 V G 8747 f z 5171 t 7569 5831 q O C P 3513 q j 3483 m 1465
Output (English): 1, 3, 7, 10, 11, 13, 14, 16, 19, 20, 21, 22, 24, 25, 27