You have 12 identical-looking coins, but one of them is either heavier or lighter than the rest. You also have a balance scale. You can use the scale only three times. How can you determine which coin is the odd one out and whether it is heavier or lighter?
Hint: Think about how to divide the coins into groups for each weighing.
Can you solve it?