When one half of the second of two consecutive integers is subtracted from the first of the two consecutive integers, the result is 2, what is the first number?