* code for task#300.