https://community.topcoder.com/stat?c=problem_statement&pm=1166&rd=4705
Please help me in this question