Place the digits 1,...,7 in the cells so that no digit is repeated in any row or column and all inequalities are satisfied.