Write down a program which prompts the user to enter a telephone number expressed in the letters and outputs corresponding telephone number in digits. In case, the user enters more than seven letters, then process only the first seven letters. Also output - (Hypen) after the third digit. Enable the user to utilize the uppercase and the lowercase letters as well as spaces between the words. Moreover, your program must process as many telephone numbers as the user wishes to.