The ratio of hot dogs to hamburgers is 17:13. The total amount of hot dogs and hamburgers for the party is 390. How many of each do you have?