Four gentlemen (A, B, C, and D) went to an expensive restaurant to dine. They checked their coats, hats, gloves, and canes at the door (each of the gentlemen had one of each). But when they checked out, there was a mix up, and each of the men ended up with exactly one article of clothing (a pair of gloves is considered a single article of clothing) belonging to each one of the four.
A and B ended up with their own coats, C ended up with his own hat, and D ended up with his own gloves. A did not end up with C's cane.
State whose coat, hat, gloves, and cane each of the gentlemen ended up with.
The required allotment of coats, hats, gloves and canes after the confusion are as follows:
Name of Has the Has the Has the Has the
the gentleman coat of hat of glove of cane of
----------------------- --------------- ------------ ---------------- --------------
A A B C D
B B D A C
C D C B A
D C A D B
*** Will try to posit a detailed solution in future.