determine the number of packages of hot dogs and buns