given the digits {1,1,2,5,5,5,6,7} how many even numbers less than 5 000 000 are there?

(and plzzzzz tell me how u got it )