Task: Program Execution
Input (English): 5089, y, v, F, 4803, 1773, 1867, 2919, 9283, 4907, z, M, K, f
Output (English): 5089, 4803, 1773, 1867, 2919, 9283, 4907