Task: Program Execution
Input (English): 2, 8, ['b', '6541', 'J', 'n', '4613', '7599', '5187', '7277']
Output (English): 7727781599573164nJ1456