If an m × n matrix A has rank r,

If an m × n matrix A has rank r, prove that A can be written as the sum of r matrices, each of which has rank 1.