Write a program to convert a numerical input, such as 123, into its equivalent word representation, such as one hundred twenty-three.