Task: Program Execution
Input (English): 3, 4, ['2171', '1869', 'i', 'g']
Output (English): ig