Click here to read the complete problem statement.
I think the problem owner made some mistakes to input the real answer.