Task: Program Execution
Input (English): B F Q S b m D 1097 w 7885 9761 5459 A S 1417 Q 2191 4783 l g 2579 8627 5327 8001 k 2709
Output (English): 1097, 7885, 9761, 5459, 1417, 2191, 4783, 2579, 8627, 5327, 8001, 2709