Task: Program Execution
Input (English): 2, ['5117', '9747', '2479', '6567', 'E']
Output (English): 2479, 6567, E