Johnny has 10 bills that add up to $320. Some bills are 50 dollar bills and the rest are 20 dollar bills. How many are 50 dollar bills and how many are 20 dollar bills?