Ally sold 18 boxes of girl scout cookies. This was 40% of the number of boxes that Kayla sold. How many boxes did Kayla sell?