<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def create_mon_path(path, uid=-1, gid=-1):
 """create the mon path if it does not exist"""

    if not os.path.exists(path):
        os.makedirs(path)
        os.chown(path, uid, gid);