These inequalities are not compatible: you are looking for a number that is less than 2, but more than 7. This is impossible, because if a number is less than 2, it can't be more than 7.
Conversely, if a number is more than 7, it can't be less than 2.