Task: Program Execution
Input (English): 2, ['h', 'G', 'i', '7187']
Output (English): h, G