show optimal action for each state