Sichuan University Programming Contest 2005 Final

A: Venn Diagram