The application is as follows: