from typing import Counter


def get_most_common(exercises, n=3):
	""" Get n most common sports """
	exes = [e.sport for e in exercises]
	cnt = Counter()
	for e in exes:
		cnt[e] +=1
	
	commons = cnt.most_common(n)
	commons_array = [co[0] for co in commons]
	return commons_array