Huiling has sonme 20-cent coins and 50-cent coins. She has 4 times as many 20-cent coins as 50-cent coins. She has a total of $39. How many coins does she have altogether?​