solved 82 with some muhko magic graph algorithm