Adrian likes all the numbers, but some are his favourites. He created
a flowchart to help people determine whether or not a given five-digit
positive integer is one of his favourites.

Start with a five-digit positive integer and proceed through the following steps:

Does the integer contain any even digits or repeated digits?

If YES, then the integer is not a
favourite.

If NO, then go to 2.

Is the thousands digit larger than both the hundreds digit and
the ten thousands digit?

If NO, then the integer is not a
favourite.

If YES, then go to 3.

Is the tens digit larger than both the hundreds digit and the
units digit?

If NO, then the integer is not a
favourite.

If YES, then the integer is a favourite.

How many favourite five-digit positive integers does Adrian have?