Task: Program Execution
Input (English): z, 8687, 3399, 5277, F, 5839, 8945, L, l, N, w
Output (English): 8687, 3399, 5277, 5839, 8945