Output: Modified solution is obtained