How can i solve this problem?
Need solution with explanation :woozy_face:

if you really need it, you can find it in the guide (“Get a Hint” button), we will not tell you the solution

but if you show what you have tried so far we can guide you toward a working algorithm