Task: Program Execution
Input (English): 4, ['Q', '79', 'L', 'd', 'Z', '3761', '6817', 'D', 'd', '1339']
Output (English): Q, Z, d