I think this is too general: for example, if an element of B is greater than the sum of all the elements of A, or if all the elements of A are even and one element of B is odd, then you won't

succeed to do it. Also, if all the elements of A are positive and some element of B is less than the smallest element of A you cannot do it.

Nemesis