My some peice code of algorithm solution.