1998 IMO Shortlist Problems/C1

An m x n array of real numbers has the sum of each row and column integral. Show that each non-integral element x can be changed to [x] or [x] + 1, so that the row and column sums are unchanged.
Invalid username
Login to AoPS