In how many ways can the numbers 1 through 5 be entered once each into the five boxes below so that all the given inequalities are true?
There are 740 ways.