In a moderately skewed distribution, if the values of mean and mode are 10k and 7k respectively, then its median is