a pile of fifty $1, $5 and $10 bills is worth $237. The number of $5 bills is twice as many as $10 bills.How many

$1 bills in the pile?