function z=hk(x,y)
if x<=y
    z=x;
else
    z=y;
end
