A 3-part Sperner theorem