In a different plan for area​ codes, the first digit could be any number from 2 through 5​, the second digit was either 2, 3, 4, or 5​, and the third digit could be any number except 4, 5, or 8. With this​ plan, how many different area codes are​ possible?