Click here to read the complete problem statement.
Can someone please explain the problem to me in the simplest language?