A friend of mine was lost somewhere in the middle of a desert. There are many dunes in the surrounding area that he couldn't remember which is the right way. He lost his compass which only can navigate him to the correct direction. Help him in finding his compass so that he can get back to his family safely.