A safe contains $2751 in $1, $5, $10, and $20 bills. The number of $5 bills is three fewer than three times the number of $1 bills. The number of $10 bills is the number of $1 bills. The number of $20 bills is six more than five times the number of $1 bills. How many bills of each type are there?