Please show the expected output for giving exact solution