What is the value of x?
5
3 8 7
