Task: Program Execution
Input (English): 3, 7, ['N', '5395', '4487', '6251', '9783', 'H', 'X', '467', '5437', 'j']
Output (English): 20521