A military detachment consists of 50 engineers, 36 sappers, 22 special forces, and 120 private soldiers as support troop, must be transported to an important strategic position. In the base park there are 4 types of vehicles A, B, C, and D, for transport of troops.