CEMC Banner

Problem of the Week
Problem E
Favourite Numbers

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.

An alternative format for the flowchart
follows.

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