Task: Program Execution
Input (English): 3, ['g', 'D', '4639', '3271', 'h', '9399', 'L', 'V', 'g', 'R', 'r', 'V', '6545', 'X', 'm', '6215', '4141', '1891']
Output (English): g, D, 4639