clc;
clear;
N=input('Please enter a number');
n=floor(N/2);
arrayodd=0;
arrayeven=0;
arrayone=0;
k=1;
for i=1:n
   x=floor(rand(1)*99)+1;
   while (mod(x,2)==0)|| aynimi(arrayodd,x)
   x=floor(rand(1)*99)+1;
   end
   arrayodd(k)=x;
   k=k+1;
end

k=1;
for i=1:n
   x=floor(rand(1)*99)+1;
   while (mod(x,2)==1)|| aynimi(arrayeven,x)
   x=floor(rand(1)*99)+1;
   end
   arrayeven(k)=x;
   k=k+1;
end
4;

disp((arrayodd));
disp((arrayeven));

a=2;
for i=1:n
    arrayone=[arrayone arrayone(a-1)+arrayodd(i)];
    a=a+1;
    arrayone=[arrayone arrayone(a-1)+arrayeven(i)];
    a=a+1;
end

disp(arrayone);
arrayone=trim(arrayone)
