Problem

Source: Baltic Way 2006

Tags: combinatorics proposed, combinatorics



$162$ pluses and $144$ minuses are placed in a $30\times 30$ table in such a way that each row and each column contains at most $17$ signs. (No cell contains more than one sign.) For every plus we count the number of minuses in its row and for every minus we count the number of pluses in its column. Find the maximum of the sum of these numbers.