Playing Hacks and Stuffs!
We can easily use Binary Search to solve this
Here’s my solve script: link