Task: Program Execution
Input (English): 4, 5, ['3769', 'Q', '6015', '6865', '6219']
Output (English): 13084