Task: Program Execution
Input (English): 3, 6, ['7301', 'X', '645', 'i', 'D', '3481']
Output (English): 4126