Click Here to see the problem detail.

Solution

Read the problem carefully & see source code.

Source Code

 


Next Previous