you are required to write a program to solve the following problem: There are two trucks, each of which contain packages having different weights.