When the smaller of two consecutive integers is added to three times the larger the result is 31. find the integer