[Hard] Fantastic problem. Functionally correct soln, but TLE.
[Hard] Fantastic problem. Functionally correct soln, but TLE.

cbrghostrider/Hacking,cbrghostrider/Hacking,cbrghostrider/Hacking,cbrghostrider/Hacking,cbrghostrider/Hacking