Codeforces Round #519 by Botan Investments C. Smallest Word
C.SmallestWordIAhassomanycolorfulmagnetsonherfridge!Exactlyoneletteriswrittenoneachmagnet,'a'or'b'.Shelovestoplaywiththem,placingallmagnetsinarow.However,thegirlisquicklyboredandusuallythinkshowtomake