Given 6 digits: 0,1,2,3,4,50, 1, 2, 3, 4, 50,1,2,3,4,5. Find the sum of all four-digit even numbers that can be written using these digits (each digit may be repeated in the number).