CodeForcres Round 269 div 2, A and B. AC.