Jane Street Interview Question

Maximising expectation of dice roll.