Amara, Björn, Cora, Dale, and Emiko reside in a five-story building. Occasionally, the receptionists have trouble recalling the specific floors each person lives on. However, they should be able to deduce who lives on which floor based on the snippets of information they do remember.
Figure out who lives on what floor based on the following information:
Sign up to Exercism to learn and master Prolog with 109 exercises, and real human mentoring, all for free.