Two T-shirt sizes are given:aaandbb. The T-shirt size is either a stringMor a string consisting of several (possibly zero) charactersXand one of the charactersSorL. For example, stringsM,XXL,S,XXXXXXXScould be the size of some T-shirts. And the stringsXM,LL,SXare not sizes. The le...