D. Optimal actions