def reward(s, a, utility, cost):
    """
    Reward as a function of the true state and the price of action
    """
    # return [1,0.6,0.3,0][s]
    # return [1,0.6,0.3,0][s] - [0.05, 0.5][a]
    return utility[s] - cost[a]