------Input------ 0 ------Answer----- 8.333 7 4 4 7 3 3 ------Your output----- 8.333 购买香蕉7 剩余4元 购买苹果4 剩余7元 购买葡萄3 剩余3元