<>;($r,$r)=sort{$b-$a}keys%{{(($_=<>)+($b=<>),$_+($c=<>),$b+$c)x2}};print/ /?'"assert"':$r