A Winning Strategy for the Chocolate Bar Game

Suppose B is not greedy:

and A stays with his/her strategy: