• + 0 comments

    in python3 : return sum([ y//2 for y in ar.count(x) for x in set(ar)])