Jack sold $$40$$ apples yesterday, which is make up $$\frac 47$$ of the number of apples he brought. Yesterday he brought $$\frac 12$$ of all apples he has. How many apples does he have altogether? 
Overseas Competition->Knowledge Point->Word Problem Modules->Solving Problems Involving Fractions and Percentages->Finding the Base