Freedom Manufacturing company makes 2 styles of waterbeds: modern and traditional. Two machines are used to produce the beds. Machine A cuts the wood and machine B finishes the wood. A modern bed requires 2 hours of machine A's time and ½ hour of machine B's time. A traditional bed requires 1 hour of machine A's time and I hour of machine B's time. Due to cost limitations, a maximum of 7 modern beds can be built per day. Machines A and B can be operated a maximum of 24 and 18 hours per day, respectively. If the profit is $90 per modern bed and $60 per traditional bed, how many of each should be produced to achieve maximum profit?