Stock Buy Back from Ag Coop

Our local coop we sell milk to sold out to a larger Coop this year.  As part of the deal we patrons are being paid back our stock over time.  How do I report this?  We received the stock a little every year in lieu of patronage dividends.