Ungrouping in ones and tens