Task: Program Execution
Input (English): 4, 5, ['v', 'e', '4971', 'R', '1857', 'z', 'Z', '3163', 'O', 'j', 'v', 'd', '6977', 'n', '8321']
Output (English): 1857