Task: Program Execution
Input (English): 5, 10, ['2643', '9483', 'B', '8399', '3785', '4127', '4247', 'E', '6679', 'a', '5035', 'p', 'S', '9935']
Output (English): 378541274247E6679a