A book has disappeared from the classroom shelf. James, Lily, and Sophie were the only ones in the room. One of them took it. Exactly one of them is lying.