#good problem

can anyone share there solution to it

You can check out this