Task: Program Execution
Input (English): f, q, g, J, 8845, 2849, 3365, 1583, v, f, 7515
Output (English): f, q, g, J, v, f, 8845, 2849, 3365, 1583, 7515