Here is the Problem Image : [Click here](https://ibb.co/T15xL4r) ↵
↵
Sample Input output and constraints : [CLICK here](https://ibb.co/M8D9krW)↵
↵
Please specify an approach for this problem
↵
Sample Input output and constraints : [CLICK here](https://ibb.co/M8D9krW)↵
↵
Please specify an approach for this problem