Task: Program Execution
Input (English): 4, 7, ['6149', 'E', '9849', '751', 'P', '4389', '357', '71', '7949']
Output (English): 751P4389357