Kindly try this problem and provide a detailed algorithm for solving it, i will be extremely thankfull.↵
[Link to the problem](https://atcoder.jp/contests/abc159/tasks/abc159_e)↵
Edit-Seems to be extremely strange, that people rather than helping are delibrately downvoting just for the sake of fun.↵
[Link to the problem](https://atcoder.jp/contests/abc159/tasks/abc159_e)↵
Edit-Seems to be extremely strange, that people rather than helping are delibrately downvoting just for the sake of fun.↵