2004' ACM/ICPCѵϰ 11

E: Relatives