Implemented task for numeration algorithm.