If the numbers 3, 5, 7, 4 have frequencies x, x+4, x-3, x+8 with their arithmetic mean of 4, then x will be _____.