Solution to:
Coin Weighing

There are several ways to solve this problem.
An elegant solution is shown below.
Note again that in advance, you do not know whether the coin with different weight is heavier or lighter!

Number the coins from 1 up to 12. Perform the following three weighings:

Left side:

Right side:

Weighing 1:

1 2 3 10

4 5 6 11

Weighing 2:

1 2 3 11

7 8 9 10

Weighing 3:

1 4 7 10

3 6 9 12

Call the outcome of a weighing "L" if the left side is most heavy,
call the outcome "R" if the right side is most heavy,
and call the outcome "B" if the left and right sides have the same weight.
Then the following outcomes are possible: