Task: Program Execution
Input (English): 4839, c, 5353, g, 649, c, 8811, a, 6107, 3119, 7949, z, q, x, z, 9697, a, f
Output (English): a, c, f, g, q, x, z