Ms. Rogers bought 4 bags of candies to make gift boxes for her family. Each bag contained 18 candies. She put an equal number of these candies into each of 7 gift boxes. How many candies were left over?