Question 1
7 people (John, Peyton, Ibrahim, Layla, Yusuf, Tyr, Leo) live on floors 1 to 7. Analyze the following constraints:
Based on these clues:
• John does not live on floor 5
• Tyr does not live on floor 4
• John does not live on floor 3
• Yusuf lives on floor 4
• Layla and Leo are exactly 3 floors apart
• Layla lives above Tyr
• There is exactly one floor between Peyton and Layla
• There is exactly one floor between John and Yusuf
• Peyton lives immediately above Leo
On which floor does John live?
The unique arrangement (floor: person) is: {1: 'Tyr', 2: 'Leo', 3: 'Peyton', 4: 'Yusuf', 5: 'Layla', 6: 'John', 7: 'Ibrahim'}.