A fast-food chain sells three types of franchises, A, B, and C. Franchise A sells for $20,000, franchise B for $25,000, and franchise C for $30,000. In one year, the company sold 18 franchises for $430,000. If the number sold of franchise A is twice the number sold of franchise C, how many of each type did the company sell that year.