If m=n, then A=2m525, B=2m⋅2m2⋅2m4⋯⋅2m128=28m255>A=2m525
⇔m=n=1, while for m=n>1 we get A>B.
Now, without the loss of generality, m>n. Then we can do the transformations:
B≤(m−n)B=(m−n)(m+n)(m2+n2)(m4+n4)…(m128+n128)==(m2−n2)(m2+n2)(m4+n4)…(m128+n128)=(m4−n4)(m4+n4)…(m128+n128)==m256−n256<m525+n525=A⇒B<A.