writing the digits in the word format