Greg has 7 apples and 9 bananas. He is dividing all the fruit into 3 bags. If each bag will have the same number of pieces of fruit, how many pieces of fruit will be left over?