Suppose $$ a^k(1-a)^{n-k}=b^m(1-b)^{n-m},$$ where $0<a,b<\frac{1}{2}$ are real numbers, $n,k,m$ are positive integers, $0<k<m<n$.
How to prove that $a<b$?
I am feeling this should be trivial, but somehow I am stuck...
(This is related to this question, by the way)