Task: Program Execution
Input (English): 6251, e, z, v, 1465, r
Output (English): e, r, v, z