Codeforces round #159,A && B.