n x n board

On n x n board, 2n-1 fields were chosen. Prove that you can paint some of the chosen (not zero) fields green so that
a) in every line and every column, number of green fields is odd
b) in every line and every column, number of green fields is even