Find The Highestlowest Frequency Element