Task: Program Execution
Input (English): z, 5239, o, k, 1037, k, n, 2059, m, 6103, r
Output (English): k, m, n, o, r, z