The customer bargained with the shopkeeper for a long time, and finally they agreed ________ the price.