Amy is making gift bags for her friends. She has 24 candy bars and 72 small toys. She wants every gift bag to have the same number of candy bars and the same number of small toys, with none left over. If she makes the greatest number of gift bags possible, how many small toys will be in each bag?