Click Here to see the problem detail.

Solution

This problem is very easy to solve. Just read the problem carefully try to understand what they say. Don’t copy paste.

Source Code

 


Next Previous