A brownie recipe for 16 brownies needs = cups of flour. Anna wants to make brownies for her two favorite classes: math and
history. There are 32 students in her math class, and 24 students in her history class. She wants to make enough so each classmate gets 2 brownies. How many cups of flour must be used in order to make exactly enough brownies for each of her classmates from both classes?