loop{a=[],[] eval(gets).map{|x|a.min_by{|y|eval(y*'+')||0}<<x} puts"([#{a.map{|x|x*','}*'],['}])"}
Note that non-ascii characters in the above source code will be escaped (such as \x9f).
download
return to the top page