When the smaller of two consecutive integers is added to five times the larger, the result is 77. Find the integers.