The code of the solution of the program is added