The three vessels

A wise man has three vessels of 12, 8 and 5 liters. The 12 is full; the other two are empty. You must divide the content into two equal parts, using only transfers between vessels and without intermediate marks. How do you do it?