text: module.exports = function toReadable (number) {
    const numbUpToTen = ['one', 'two', 'three', 'four', 'five', 'six', 'seven', 'eight', 'nine'];
    const numbUpToTwenty = ['eleven', 'twelve', 'thirteen', 'fourteen', 'fifteen', 'sixteen', 'seventeen', 'eighteen', 'nineteen'];
    const dozens = ['ten', 'twenty', 'thirty', 'forty', 'fifty', 'sixty', 'seventy', 'eighty', 'ninety'];
  
    const numberToString = String(number); 
    const lengthNum = numberToString.length;  
    const firstNumber = parseInt(numberToString[0], 10);  
    const secondNumber = parseInt(numberToString[1], 10);  
    const thirdNumber = parseInt(numberToString[2], 10);
  
    if (lengthNum === 1) {
      if (number === 0) {  
        return 'zero';
      } else {  
        return numbUpToTen[number - 1];
      }
  
    } else if (lengthNum === 2) {
      if (10 < number && number < 20) {  
        return numbUpToTwenty[secondNumber - 1];
      } else if (secondNumber === 0) {  
        return dozens[firstNumber - 1];
      } else {  
        return `${dozens[firstNumber - 1]} ${numbUpToTen[secondNumber - 1]}`;
      }
  
    } else if (lengthNum === 3) {
      if (number % 100 === 0) {  
        return `${numbUpToTen[firstNumber - 1]} hundred`;
  
      } else if (secondNumber === 0) { 
        return `${numbUpToTen[firstNumber - 1]} hundred ${numbUpToTen[thirdNumber - 1]}`;
  
      } else if (number % 10 === 0) {  
        return `${numbUpToTen[firstNumber - 1]} hundred ${dozens[secondNumber - 1]}`;
  
      } else if (secondNumber === 1) { 
        return `${numbUpToTen[firstNumber - 1]} hundred ${numbUpToTwenty[thirdNumber - 1]}`;
  
      } else {  
        return `${numbUpToTen[firstNumber - 1]} hundred ${dozens[secondNumber - 1]} ${numbUpToTen[thirdNumber - 1]}`;
      }
    }
  
  }
   
    