I tried to check with all there , editorial ,fastest ,lightweight ,solutions for Python 3 all of them return the answer 1 but correct is 685 ,for submission test case
I tried to check with all there , editorial ,fastest ,lightweight ,solutions for Python 3 all of them return the answer 1 but correct is 685 ,for submission test case