function s = avgThem(x, y)
fprintf('\n\nentering avgThem\n')
s = divThem(addThem(x, y), 2);
fprintf('inside avgThem, x = %d, y = %d, s = %d\n', x, y, s);
% whos;
fprintf('exiting avgThem\n\n');

