Jane Street Interview Question

Simple EV problem to do with slot machines,