If you're saying that calculus and other elementary techniques won't work, are you still standing by the claim that this is a high school problem? I have a couple of schemes I was thinking of, but I don't want to bother working out the details if it's going to turn out to be some sort of abstract algebraic or topological solution. I'm still assuming this is a high school-level problem that just requires some straight up ingenuity, but please don't hesitate to let us know if high school math won't suffice.