Task: Program Execution
Input (English): 3879 Z K 2865 5173 8109 v 9097 7019 583 x 5567 G 2207 6141 5409 2359 2027 149 S X Y Y 4487 g
Output (English): 1, 4, 5, 6, 8, 9, 10, 12, 14, 15, 16, 17, 18, 19, 24