Lena the trainer has two solo workout plans that she offers her clients: Plan A and Plan B. Each client does either one or the other (not both). On Wednesday there were 12 clients who did Plan A and 2 who did Plan B. On Thursday there were 3 clients who did Plan A and 5 who did Plan B. Lena trained her Wednesday clients for a total of 19 hours and her Thursday clients for a total of 7 hours. How long does each of the workout plans last?