6. A cash register contains $10 bills and $50 bills with a total value of $1080. If there are 28 bills total, then how many of each does the register contain?