A farmer had spent all his money traveling to see the King and was left hungry with a toothache. He debated whether to pull out his painful tooth to pay for food or let it hurt and go hungry. Two guards saw him looking longingly at cakes and dared him to eat 500 cakes, betting that if he failed they could pull out his tooth. The man accepted and began eating, admitting defeat when full. The guards called a barber to extract his tooth as agreed, though the man was glad his hunger was gone and painful tooth removed.