2. 50 vehicles belong to an enterprise that has three departments, A, B and C. 6 vehicles are available for the use of all three departments, while 2 vehicles give service to neither of the departments. 24 vehicles are administrated by department B, although 16 of them are also used by the others departments. There are twice as many vehicles in department A as there are in department C. If equal numbers of vehicles are allocated when used by any two departments, find the number of vehicles administrated by each department.​