A gardener is planting two types of flowers, roses, and tulips, in a rectangular garden. The number of roses planted is the greatest common divisor (GCD) of 48 and 64, while the number of tulips planted is half the product of 12 and 8. How many flowers in total does the gardener plant? Let's think step by step and output the final answer within \boxed{}.
user