Task: Program Execution
Input (English): 17, 20, ['F', '3953', '985', 'M', 'w', '5069', 'z', '5055', '7809', '6923', '5591', '1813', 'm', 'E', 'h', 'D', '1749', '2003', '4077', 'l', 'r', '6475', '7553', 'l']
Output (English): 7829