Task: Program Execution
Input (English): z, 5169, I, 9877, w, 1769, 2047, V, t
Output (English): 5169, 9877, 1769, 2047