Subsets

Let A be a -element subset of { }. It is known that every two subsets of A have distinct sum of their elements and for any element subset B of { }, containing A, there exist subsets of B with equal sums.
a) Prove that
b) For different subsets A with the given property find the maximum and minimum possible values of the sum of the elements of A.