Task: Program Execution
Input (English): 3, 6, ['f', 'x', 'z', '3103', '6199', 'R', '4303', 'U', '4461', '9409', '9951', 'r']
Output (English): z, 3103, 6199, R