若一组数:1,3,5,x的极差是7,则x的值为(  ) A.4 B.8 C.9 D.8或-2