#25. biggerTwo

biggerTwo

Background

Description

Start with 2 int arrays, a and b, each length 2. Consider the sum of the values in each array. Return the array which has the largest sum. In event of a tie, return a.

Format

Input

Output

Samples

[1 2] [3 4]
[3, 4]
[3 4] [1 2]
[3, 4]
[1 1] [1 2]
[1, 2]

Limitation

1s, 1024KiB for each test case.