Town a has 5054 residents. Town a has 162 fewer than 2 times the number of residents of town b. How many residents does town b have?