naive median