Task: Program Execution
Input (English): R X M 9679 T a o a T 7749 O 3517 t N 4921 4295 h 2103 w d 7997 X T 2203 1911 n 511
Output (English): 9679, 7749, 3517, 4921, 4295, 2103, 7997, 2203, 1911, 511