Click Here to see the problem detail.

Solution

This is so much straight forward problem. So the source code is given below with out any explanation.

Source Code

 


Next Previous