Task: Program Execution
Input (English): 3, 5, ['3417', '399', 'a', 'a', '7105']
Output (English): aa7105