Task: Program Execution
Input (English): 3, 4, ['7791', '6369', '207', 'g']
Output (English): g, 207