median: m <= 30 and s <= 16