function [input] = mergesg(select, guess)

[junk,length] = size(select);
input = [];

for i = 1 : length
if (select(1,i) == -1)
input(1,i) = guess(1,i);
end
if (select(1,i) ~= -1)
input(1,i) = select(1,i);
end
end

