Task: Program Execution
Input (English): 16, 17, ['1961', 'M', '6249', '5877', 'y', '6477', '8351', 'Q', '1', '4259', 'y', 'N', '8979', '1601', '3153', '3879', 'H']
Output (English): 3879