Characterization ofn-associative, monotone, idempotent functions