Mia is "helping" her mom pick up 27 toys that are strewn on the floor. Mia's mom puts five toys into the toy box every 40 seconds, but each time, immediately after those 40 seconds have elapsed, Mia takes three toys out of the box. How much time, in minutes, will it take Mia and her mom to put 27 toys into the box for the first time?