A party was organised for thirty people at which they could either have a hamburger or a pizza. If there were five times as many hamburgers as pizzas, calculate the number of each.