can anybody explain the question in breif , i have tried reading the editorial but failed to understand,it would be helpful if someone just give me a slight idea what the question demands? here is the question link: http://codeforces.net/problemset/problem/217/A