I am a 4-digit even number. I can be divided exactly by 7.My ones digit is three times my thousands digit.The sum of my digits is 13.The hundreds digit is 1 less than the ones digit.