Codeforces-1000A Codehorses T-shirts

 

Codehorses has just hosted the second Codehorses Cup. This year, the same as the previous one, organizers are giving T-shirts for the winners.

The valid sizes of T-shirts are either “M” or from 0 to 3 “X” followed by “S” or “L”. For example, sizes “M”“XXS”“L”“XXXL” are valid and “XM”“Z”“XXXXL” are not.

继续阅读Codeforces-1000A Codehorses T-shirts