If the average of 3, 6, 7, 1, 3, 6 and X is 4, what is x?

If the average of 3, 6, 7, 1, 3, 6 and X is 4, what is x?

4×7-(3+6+7+1+3+6)
=28-26
=2
A: X is 2