Justin is making cookies, using a recipe in which the ratio of flour to chocolate chips to sugar is 4:2:1 for each batch. If he is using 8 cups of flour how many cups of sugar does he need?