A realtor uses a lock box to store the keys to a house that is for sale. The access code for the lock box consists of four digits. The first digit cannot be 8 and the last digit must be odd. How many different codes are​ available?

(Note that 0 is considered an even​ number)

Question: The number of different codes available?

​(Type a whole​ number)