Incidentally, assuming no cheating the ratio of what you should bet is
S = fraction of bankroll bet on 16
F = fraction of bankroll bet on 14
R = fraction of bankroll bet on red
maximize f(S,F,R) over the range 0 to S+F+R < 1 using gradient=0 method where
f(S,F,R) = ln(4/37(35S - F + R) +...