In the arrangement of pn real numbers below, the difference between the greatest and smallest numbers in each row is at most d, d>0.
a11a12...a1na21a22...a2n.........an1an2...ann
Prove that, when the numbers in each column are rearranged in decreasing order, the difference between the greatest and smallest numbers in each row will still be at most d.