Task: Program Execution
Input (English): 3, ['f', 'r', 'M', '9969', 'v', 'P', 'U', 'J', '5287', '8379', 'o', '1109']
Output (English): f, r, M