In the integer 3589 the digits are all different and increas