Task: Program Execution
Input (English): 3, 5, ['N', '2967', '5757', 'b', 'j', '2161', '453', '6795', 'i']
Output (English): jb5757