A factory produces three types of widgets: A, B, and C. On average, widget A takes 5 minutes to assemble, widget B takes 8 minutes, and widget C takes 12 minutes. For every 3 widgets of type A produced, 2 widgets of type B are produced. For every 4 widgets of type B produced, 1 widget of type C is produced. What is the average assembly time per widget?