Median of prime numbers