The mode of data - 1,0,3,4,6, a, B is a, the median is B, and the average is a + B. calculate the average

The mode of data - 1,0,3,4,6, a, B is a, the median is B, and the average is a + B. calculate the average

If so, because [- 1 + 0 + 3 + 4 + 6 + A + b] / 7 = a + B, there is 12 + A + B = 7a + 7b, that is, 6a + 6B = 12, so a + B = 2