Tripling the greater of two consecutive even integers gives the same result as subtracting 10 from the lesser even integer. What are the integers?