Task: Program Execution
Input (English): 3, 5, ['7567', 'G', 'J', '9725', '681', 'S', 'K', '5065']
Output (English): 6819725J