#!ruby -na p$F.permutation.map{|x|eval"#{x*=""}-"+x.reverse}.max if$.>1