A store manager finds a stack of money totaling $1290--made up of twenties and fifties. There are 42 bills in all. How many twenty dollar bills are there?