codeforces #175 div2,A && B && C.