def clear_salary(salary):
    res = salary.split('-')
    temp = []
    for x in res:
        temp.append((int(x.upper().replace('K', ' ')) * 1000))
    result = {'min': temp[0], 'max': temp[1], 'avg': int(((temp[0] + temp[1]) / 2))}
    return result
def clear_salary(salary):
    res = salary.split('-')
    temp = []
    for x in res:
        temp.append((int(x.upper().replace('K', ' ')) * 1000))
    result = {'min': temp[0], 'max': temp[1], 'avg': int(((temp[0] + temp[1]) / 2))}
    return result