You go to an island trying to find gold. Every inhabitant of the island is either a knight or a liar. You meet two inhabitants, A and B.
A:B is a knight and there is gold on this island.
B:A is a liar and there is gold on this island.
What are A and B, and is there gold on the island?