Task: Program Execution
Input (English): 1, 5, ['3061', '3119', '4671', 'h', '1993', 'd']
Output (English): 12844