$$_=<>for a..d;($r,$r)=sort{$b<=>$a}keys{($b+$c,$b+$d,$c+$d)x2};print$r||'"assert"'