Task: Program Execution
Input (English): 3, 4, ['7879', '5377', 'B', '5617']
Output (English): 5617