Three apples plus twice as many pears add up to one-half the number of grapes in fruit basket. How many grapes are in the basket?