I have the following to solve and I tried so many things but it is confusing. Here is the problem

Given 12 coins such that exactly one of them is fake (we don't know if it is heavier or lighter than the rest), and a pan scale, devise a procedure to identify the fake coin and whether it is heavier or lighter by doing no more than 3 weightings.

Thank you

didi