Task: Program Execution
Input (English): 2, ['Z', 'Q', '113', '7109']
Output (English): Z, Q