Min had some cards
He gave 1/2 of them to bill.
Bill gave 1/3 of those to Sam.
Sam gave Min 2 cards back and kept 6.

How many cards did Min have in the end?