function ret=mymedian_hw1(a)

asort=sort(a);
N=length(a);
if ceil(N/2)==floor(_______)
 ret=(asort(N/2)+_______)/2;
else
 ret=asort(ceil(N/2));
end

endfunction
