 extract root repeat subtract digit comput 