codeforces #191 div2, A && B.