Help out Aladdin
Aladdin finds two trunks A and B in a cave. He knows that each of them either contains a treasure or a fatal trap. On trunk A is written: “At least one of these two trunks contains a treasure.” On trunk B is written: “In A there’s a fatal trap.” Aladdin knows that either both the inscriptions are true, or they are both false. Can Aladdin choose a trunk being sure that he will find a treasure? If this is the case, which trunk should he open?