i’ve the solution but since it is not submitting , getting “wrong problem” error, please can you drop your logics here?
Perhaps that’s why it was hidden, or perhaps because it’s hidden?