Task: Program Execution
Input (English): 2, ['947', '6389', 'g', '443', 'x']
Output (English): 947, 6389