If each box contains 3 apples and each stack contains 2 such boxes, calculate the number of apples in 4 such stacks.