A cash register contains $5 bills and $20 bills with a total value of $170. if there are 16 bills total, then how many of each does the register contain?