Task: Program Execution
Input (English): 2, 5, ['J', '573', '4593', '4887', 'n', 'g', '5117', '8847']
Output (English): n48874593573