https://lovlypuzzles.blogspot.com/2023/11/The-two-friends-puzzle.html