How do i do the adventurer riddle. Please provide the answer or just say how to do it (the math i mean}