Problem 3046 · Easy
A value can be split between the two halves only if it appears at most twice, so one count check decides the answer.
Open the interactive visualisation