Task: Program Execution
Input (English): v, O, 6627, 9705, 5255, 5183, r, J, g, 3951, 5947, x
Output (English): v, O, r, J, g, x