Training Site
Sideways banner

My Favourite Pet

Input: Standard Input (stdin)
Output: Standard Output (stdout)
Memory limit: 100 megabytes
Time limit: 1.0 seconds

The primary school at Taumata was holding a “Bring your pet to school day”. Only 9 children bought pets but even so, rather than having the children vote for the pets by name, they numbered them off 1 to 9 and the school children voted for their favourite pet.

Your job is to output the number of the pet with the most votes.

Input

There will be a single line, containing 9 whole numbers (of amount V), representing the votes for each of the 9 pets. Each of the 9 numbers will be separated by a single space.

Output

Print the word “Pet”, followed by a space, followed by the number of the pet receiving the most votes. It will always be the case that 0 \le V \le 30.

  • Sample Input 1

    1 0 9 3 7 0 0 2 8
    

    Sample Output 1

    Pet 3