def insert_(pi, ob, ind): pi.insert(ind, ob) C = CMAX(pi) return C
def delete_(pi, ind): pi.pop(ind) C = CMAX(pi) return C