
a=[1 2 -4 6 0];
while sum(a)<56

[m,i]=min(a);
a(i)= a(i)+1.5;
%[m,j]=min(a);
%a(j)= a(j)+1;
end
a
sum(a)