Task: Program Execution
Input (English): 8209, 3541, 507, y, z, 9105, 5255, s, a, F, 1489, 5819, K, a, F
Output (English): 8209, 3541, 507, 9105, 5255, 1489, 5819