read HIMURIM: p:=5/9; N:=100; x:=1/2; h:=1/50; conf:=999/1000: print(`If the prob. of winning a round is `, p): print(`The exit capital is`, N): print(`You currently have`, x*N, `dollars `): print(`You are willing to take a chance of up to`, 1-conf, `of losing `): print(`then the Best Kelly factor, that will minimize your expected stay at the casino, followed by that expected duration is`): print(KellyContestx(p,N,x,h,conf)); print(`This took`, time(), `seconds. `): quit: