cf 256 div2 - A and B ,stupid mistakes on B,baka