gets d = STDIN.gets_to_end if d.includes? ' ' puts "\"assert\"" else a, b, c = d.split.map(&.to_i) puts [a + b, b + c, c + a].uniq.sort.reverse[1] end