In a mythical kingdom, 3 cloves of garlic can repel 2 vampires, 8 vampire bats, or 3 wights. How many cloves of garlic are needed to repel 30 vampires, 12 wights, and 40 vampire bats? Let's think step by step and output the final answer within \boxed{}.
user