n elements are distributed among three sets A, B, C such that some elements of A are in B, some elements of B are in C, but no elements of A are in C. What is the minimum value of n?