Final frog solver