You roll two fair sided die with the values on the sides. If you roll two ones on the dice, you receive as a payout. If you roll a and something else that isn't a , you must pay . If you receive anything else, you re-roll with no penalty until one of the two above outcomes occurs. If is fixed, find the maximum value of such that the game has non-negative expected payout when and .