Minguk and Manse, students at Daehan High School, each took exams in four subjects: Information, Math, Science, and English. Given both students' four subject scores, write a program that prints the larger of Minguk's total $S$ and Manse's total $T$. If the two totals are equal, print Minguk's total $S$.
The input consists of two lines.
The first line contains Minguk's Information, Math, Science, and English scores in that order, given as integers separated by spaces.
The second line contains Manse's Information, Math, Science, and English scores in the same way, given as integers separated by spaces.
Print the larger of Minguk's total $S$ and Manse's total $T$. If the two totals are equal, print $S$.