Discovering an Optimal Property of the Median