P6408 [COCI 2008/2009 #3] PET

Description

In a popular contest called _Dinner for Five_, there are $5$ contestants and $4$ judges. The $4$ judges score each dish with a number from $1 \sim 5$. Each contestant's total score is the sum of all judges' scores. The contestants are numbered from $1$ to $5$ in order. Write a program to output the number of the contestant with the highest score and their score.

Input Format

The input contains $5$ lines. Each line has $4$ positive integers, representing the scores given by the judges to contestant $i$. The input guarantees that the winner is unique.

Output Format

Output only $1$ line with $2$ positive integers separated by one space: the contestant with the highest score and their score.

Explanation/Hint

#### Explanation **This problem is translated from [COCI2008-2009](https://hsin.hr/coci/archive/2008_2009/) [CONTEST #3](https://hsin.hr/coci/archive/2008_2009/contest3_tasks.pdf) *T1 PET*.** Translated by ChatGPT 5