prints digits along with words