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