require 'set' _,a,b,c=$<.map &:to_i p b ?Set[a+b,b+c,c+a].sort[-2]:"assert"