A custom exception named InvalidInput has already been defined for you.
Also, a function named aToZ() is already created for you. This function reads an integer number between 1 and 26 from the console. Then it prints the corresponding number of consecutive alphabetic characters starting from 'a'. In case the console input isn't within the specified range, it throws the InvalidInput exception.
You should use the try/catch statement for the aToZ() function. If it throws the exception, it should be caught and the exception message should be printed.
Note that you don't need to create a main() block, the InvalidInput exception, or the aToZ() function. Just create the try - catch blocks that use the exception and the function.