r=rand(1,32);a=1;b=49;x=(b-a)*r+a;