<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def enable_yum_priority_obsoletes(path="/etc/yum/pluginconf.d/priorities.conf"):
 """Configure Yum priorities to include obsoletes"""

    config = configparser.ConfigParser()
    config.read(path)
    config.set('main', 'check_obsoletes', '1')
    with open(path, 'w') as fout:
        config.write(fout)