Task: Program Execution
Input (English): 7, 8, ['d', '6915', '2183', 'v', '6733', 'H', '1201', 'F', '97', '6981', '7325', 'v', '151', '8549', '9213', '5751', '1177']
Output (English): 1201