for(_)in zip(*[sorted(_,cmp,' '.find,1)for(_)in zip(*open('../fd/0'))])[id(0)%21:]:print`_`[2::5]