while 1:l=map(list,raw_input().split());print''.join(max(l).pop(0)for _ in l[0]*2)
Note that non-ascii characters in the above source code will be escaped (such as \x9f).
download
return to the top page