fixed mean and median of hw 1