Given a list, return the element that occurs the most number of times. If two or more elements occur the max number of times, then return the one that occurred first in the