The first line contains two integers $y_1,b_1$ $(0\le y_1,b_1\le 100)$~--- the number of yellow and blue balls in the first box, respectively.

The second line contains two integers $y_2,b_2$ $(0\le y_2,b_2\le 100)$~--- the number of yellow and blue balls in the second box, respectively.

The third line contains two integers $y_3,b_3$ $(0\le y_3,b_3\le 100)$~--- the number of yellow and blue balls in the third box, respectively.