while 1:_=map(int,raw_input().split());print`sorted(x+y for x in _*1for y in-_.pop(0)*_+_)`.replace(' ','')
Note that non-ascii characters in the above source code will be escaped (such as \x9f).
download
return to the top page