Task: Program Execution
Input (English): w, w, z, 2287, u, p
Output (English): p, u, w, z