function N=generateN(m)
%generates teh value N in problem number 28.
N=[];
for i=1:m
V=cumsum(rand(1,100));
N=[N 1+sum(V<1)];
end
