You own a hamburger franchise and are planning to shut down operations for the day, but you are left with 10 buns, 12 defrosted beef patties, and 7 opened cheese slices. Rather than throw them out, you decide to use them to make burgers that you will sell at a discount. Plain burgers each require 1 beef patty and 1 bun, double cheeseburgers each require 2 beef patties, 1 bun, and 2 slices of cheese, while regular cheeseburgers each require 1 beef patty, 1 bun, and 1 slice of cheese. How many of each should you make?