* code for task #725.