Create a program to generate a frequency table from a given list
a list of elements
# Python3 program to find frequency table 
from collections import Counter 
def freq_table(arr):
    return dict(Counter(arr))