Mr. Smith bought some apples to make applesauce he bought red apples and green apples in a ratio of 7 to 9 if he bought more green apples and red apples how many total apples did he buy