#!ruby -na puts$F.map{c=a=0,b=[] ($F<<$F.shift).map{|x|a,b=[[a+x.hex,b+[x]],c].max}.max}.max[1]*" "