
Jamie is stocking up on mechanical pencils for school.

He buys a box of 90 pencils, 1/3 of which are green. 
But after Jamie buys the 90 pencils, he realizes that he has only 2/3 of
the amount of pencils he wants.
Since he doesn't need a big box, he goes back to buy smaller package that, added to the
one he bought first, gives him the amount of pencil he needs.
How many pencils did Jamie need altogether?
Bonus:
In each box of pencils from his supplier, no matter
what size box, 1/3 of them are always green.
Since green is Jamie's favorite color, he wants to know how many pencils
of the total that he bought are green. 