Hannah collects mugs. She already has 40 different mugs in 4 different colors. She has three times more blue mugs than red mugs and 12 yellow mugs. Considering that she has only half as many red mugs as yellow mugs, how many mugs of another color than mentioned does she have? Let's think first. Chain of thought:
Hannah has half as many red mugs as yellow mugs, which means she has 12 * 0.5 = 6 red mugs. Hannas has three times more blue mugs than red ones, which means 3 * 6 = 18 blue mugs. So there are 40 - 18 - 6 - 12 = 4 mugs in a different color than mentioned.
Therefore, the answer is 4.