Task: Program Execution
Input (English): 10, 14, ['4477', '6729', 'K', '7379', 'g', 's', 'Q', '3709', 'P', 'E', 'K', '8859', '5777', 'p']
Output (English): 14636