The ratio of people who wanted hot dogs to hamburgers was 5:8. If 52 meals were served how many of those were hot dogs and hamburgers?