for s in open(0):print(''.join(sorted(s.split(),key=lambda x:s.count(x[0])-s.count(x[1]))))
Note that non-ascii characters in the above source code will be escaped (such as \x9f).
download
return to the top page