This problem is used in private contest:acm队icpc河南省赛选拔赛