Task: Program Execution
Input (English): 2, ['2457', 'G', '1255', '5341', '5493', '3645', '6043']
Output (English): 2457, G