The access code for a​ car's security system consists of

four digits. The first digit cannot be

5 and the last digit must be

even.