function MoreThanHalfNum_Solution(numbers)
{
    let result = numbers.reduce((temp, data) => {
        temp[data] = temp[data] ? temp[data] + 1 : 1;
        return temp;
    }, {})
    let num;
    for (let index in result) {
        if (result[index] > numbers.length/2) {
            num = index;
        }
    }
    return num;
}
module.exports = {
    MoreThanHalfNum_Solution : MoreThanHalfNum_Solution
};