clear
N=input('Enter the number of elements');
k=1;
array=0;
for sayac=1:N
    x=floor(rand(1)*63)+27;
    while mod(x,2)==1 || aynimi(array,x)
    x=floor(rand(1)*63)+27;
    end
    array(k)=x;
    k=k+1;
end
disp(array)
k=1;
for i=1:length(array)
    array(i)
    birler=mod(array(i),10)
    onlar=floor(array(i)/10)
    if abs(birler-onlar)<5
     secilenler(k)= array(i);
     k=k+1;
    end
end
disp(secilenler)

