Task: Program Execution
Input (English): r, 5085, G, 4317, 519, d, 3069, H, d, 8761, 8591, 4807, 1881, T, n, 9815, 9365, f, C
Output (English): r, G, d, H, d, T, n, f, C, 5085, 4317, 519, 3069, 8761, 8591, 4807, 1881, 9815, 9365