Írj egy programot, amely meghatározza a leggyakrabban előforduló számot egy adott számlistában!
5, 2, 3, 2, 5, 2, 8, 8, 8
def most_common(numbers):
    count_dict = {}
    for num in numbers:
        if num in count_dict:
            count_dict[num] += 1
        else:
            count_dict[num] = 1
    most_common_number = max(count_dict, key=count_dict.get)
    return most_common_number