This answer wont work In LENTMO in neither of the test cases. Could not think of any flaw in this solution please help me to point out the flaw related to this solution
https://www.codechef.com/viewsolution/24805094
Lang: Py 3.6 Contest : June Long